object DefaultDigest extends SimpleDigest
The default digest object. It computes the checksum of a Payload using the MD5 algorithm.
- Alphabetic
- By Inheritance
- DefaultDigest
- SimpleDigest
- Digest
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val algorithm: String
- Definition Classes
- SimpleDigest
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def digest(file: File): Checksum
Computes the checksum of the content of a file.
Computes the checksum of the content of a file. This method is internally used to compute the checksum of FilePayloads, but can be used with any file.
- file
The file.
- returns
The checksum of the content of the file.
- Definition Classes
- SimpleDigest → Digest
- def digest(content: Array[Byte]): Checksum
Computes the checksum of byte array.
Computes the checksum of byte array. This method is internally used to compute the checksum of ByteArrayPayloads, but can be used with any byte array.
- content
The byte array.
- returns
The checksum of the content of the array.
- Definition Classes
- SimpleDigest → Digest
- final def digest(payload: Payload): Checksum
Computes the checksum of a payload.
Computes the checksum of a payload.
- payload
The payload object.
- returns
The checksum of the payload.
- Definition Classes
- Digest
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: Any): Boolean
- Definition Classes
- SimpleDigest → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- SimpleDigest → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- SimpleDigest → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)