com.roundeights.hasher

Hasher

case class Hasher extends Product with Serializable

A helper for generating crypto hashes from a value

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hasher
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Hasher(value: Source)

    Constructor for accepting Sources.

  2. new Hasher(value: Reader)

    Constructor for accepting Readers.

  3. new Hasher(value: InputStream)

    Constructor for accepting InputStream.

  4. new Hasher(value: StringBuilder)

    Constructor for accepting StringBuilders.

  5. new Hasher(value: String)

    Constructor for accepting strings.

  6. new Hasher(value: Array[Byte])

    Constructor for accepting Byte arrays.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def bcrypt: Hash

    Generates a bcrypt hash of this string

  8. def bcrypt_=(hash: String): Boolean

    Determines whether this value bcrypts to a given hash

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def crc32: Hash

    Generates a crc32 hash of this string

  11. def crc32_=(hash: String): Boolean

    Determines whether this value crc32s to a given hash

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hmacMd5(key: String): Hash

    Generates an HMAC-MD5 hash of this string

  16. def hmacSha1(key: String): Hash

    Generates an HMAC-SHA1 hash of this string

  17. def hmacSha256(key: String): Hash

    Generates an HMAC-SHA256 hash of this string

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def md5: Hash

    Generates an MD5 hash of this string

  20. def md5_=(hash: String): Boolean

    Determines whether this value md5s to a given hash

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def salt(saltValue: String): Hasher

    Adds a salt from a string

  25. def salt(saltValue: Array[Byte]): Hasher

    Adds a salt from an array of bytes

  26. def sha1: Hash

    Generates a sha1 hash of this string

  27. def sha1_=(hash: String): Boolean

    Determines whether this value sha1s to a given hash

  28. def sha256: Hash

    Generates a sha256 hash of this string

  29. def sha256_=(hash: String): Boolean

    Determines whether this value sha256s to a given hash

  30. def sha384: Hash

    Generates a sha384 hash of this string

  31. def sha384_=(hash: String): Boolean

    Determines whether this value sha384s to a given hash

  32. def sha512: Hash

    Generates a sha512 hash of this string

  33. def sha512_=(hash: String): Boolean

    Determines whether this value sha512s to a given hash

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped