Packages

sealed class SimpleDigest extends Digest

A Digest implementation based on java.security algorithms.

Linear Supertypes
Digest, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleDigest
  2. Digest
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleDigest(algorithm: String)

    algorithm

    The algorithm to compute the checksum.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val algorithm: String
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. 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
    SimpleDigestDigest
  8. 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
    SimpleDigestDigest
  9. 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
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(obj: Any): Boolean
    Definition Classes
    SimpleDigest → AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    SimpleDigest → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    SimpleDigest → AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Digest

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped