Trait

tsec.passwordhashers

PasswordHasher

Related Doc: package passwordhashers

Permalink

trait PasswordHasher[F[_], A] extends AnyRef

Source
PasswordHasher.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PasswordHasher
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def checkpwBool(p: Array[Byte], hash: PasswordHash[A]): F[Boolean]

    Permalink

    Check against a password hash in a pure way

    Check against a password hash in a pure way

    It may raise an error for a malformed hash

  2. abstract def checkpwBool(p: Array[Char], hash: PasswordHash[A]): F[Boolean]

    Permalink

    Check against a password hash in a pure way

    Check against a password hash in a pure way

    It may raise an error for a malformed hash

  3. abstract def hashpw(p: Array[Byte]): F[PasswordHash[A]]

    Permalink

    Hash a password in utf-8 encoded bytes, then clear the data in the password, but in a pure way.

    Hash a password in utf-8 encoded bytes, then clear the data in the password, but in a pure way.

    p

    the encoded password

  4. abstract def hashpw(p: Array[Char]): F[PasswordHash[A]]

    Permalink

    Hash a password in a char array then clear the data in the password original array, as well as the byte encoding change, but in a pure fashion because side effects suck butt.

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def checkpw(p: Array[Byte], hash: PasswordHash[A])(implicit F: Functor[F]): F[VerificationStatus]

    Permalink

    Check against a password hash in a pure way

    Check against a password hash in a pure way

    It may raise an error for a malformed hash

  6. def checkpw(p: Array[Char], hash: PasswordHash[A])(implicit F: Functor[F]): F[VerificationStatus]

    Permalink

    Check against a password hash in a pure way

    Check against a password hash in a pure way

    It may raise an error for a malformed hash

  7. final def checkpw(p: String, hash: PasswordHash[A])(implicit F: Functor[F]): F[VerificationStatus]

    Permalink

    Check against a password hash in a pure way

    Check against a password hash in a pure way

    It may raise an error for a malformed hash

  8. final def checkpwBool(p: String, hash: PasswordHash[A]): F[Boolean]

    Permalink

    Check against a password hash in a pure way

    Check against a password hash in a pure way

    It may raise an error for a malformed hash

  9. final def checkpwUnsafe(p: Array[Char], hash: PasswordHash[A]): Boolean

    Permalink

    Check against a password hash in an unsafe manner.

    Check against a password hash in an unsafe manner.

    It may throw an exception for a malformed password

  10. final def checkpwUnsafe(p: Array[Byte], hash: PasswordHash[A]): Boolean

    Permalink

    Check against a password hash in an unsafe manner.

    Check against a password hash in an unsafe manner.

    It may throw an exception for a malformed password

  11. final def checkpwUnsafe(p: String, hash: PasswordHash[A]): Boolean

    Permalink

    Check against a password hash in an unsafe manner.

    Check against a password hash in an unsafe manner.

    It may throw an exception for a malformed password

  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def hashpw(p: String): F[PasswordHash[A]]

    Permalink
  19. final def hashpwUnsafe(p: Array[Byte]): PasswordHash[A]

    Permalink

    Hash a password in utf-8 encoded bytes, then clear the data in the password

    Hash a password in utf-8 encoded bytes, then clear the data in the password

    p

    the encoded password

  20. final def hashpwUnsafe(p: Array[Char]): PasswordHash[A]

    Permalink

    Hash a password in a char array then clear the data in the password original array, as well as the byte encoding change.

    Hash a password in a char array then clear the data in the password original array, as well as the byte encoding change.

    p

    the encoded password

  21. final def hashpwUnsafe(p: String): PasswordHash[A]

    Permalink
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped