Packages

t

tsec.passwordhashers

PasswordHashAPI

trait PasswordHashAPI[A] extends AnyRef

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

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def checkpw[F[_]](p: Array[Byte], hash: PasswordHash[A])(implicit arg0: Functor[F], P: PasswordHasher[F, A]): F[VerificationStatus]

    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[F[_]](p: Array[Char], hash: PasswordHash[A])(implicit arg0: Functor[F], P: PasswordHasher[F, A]): F[VerificationStatus]

    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. def checkpw[F[_]](p: String, hash: PasswordHash[A])(implicit arg0: Functor[F], P: PasswordHasher[F, A]): F[VerificationStatus]

    Check against a bcrypt hash in a pure way

    Check against a bcrypt hash in a pure way

    It may raise an error for a malformed hash

  8. def checkpwBool[F[_]](p: Array[Byte], hash: PasswordHash[A])(implicit P: PasswordHasher[F, A]): F[Boolean]

    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. def checkpwBool[F[_]](p: Array[Char], hash: PasswordHash[A])(implicit P: PasswordHasher[F, A]): F[Boolean]

    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

  10. def checkpwBool[F[_]](p: String, hash: PasswordHash[A])(implicit P: PasswordHasher[F, A]): F[Boolean]

    Check against a bcrypt hash in a pure way

    Check against a bcrypt hash in a pure way

    It may raise an error for a malformed hash

  11. def checkpwUnsafe(p: Array[Char], hash: PasswordHash[A])(implicit P: PasswordHasher[Id, A]): Boolean

    Check against a passwordhash in an unsafe manner.

    Check against a passwordhash in an unsafe manner.

    It may throw an exception for a malformed password

  12. def checkpwUnsafe(p: Array[Byte], hash: PasswordHash[A])(implicit P: PasswordHasher[Id, A]): Boolean

    Check against a passwordhash in an unsafe manner.

    Check against a passwordhash in an unsafe manner.

    It may throw an exception for a malformed password

  13. def checkpwUnsafe(p: String, hash: PasswordHash[A])(implicit P: PasswordHasher[Id, A]): Boolean

    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

  14. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashpw[F[_]](p: Array[Byte])(implicit P: PasswordHasher[F, A]): F[PasswordHash[A]]

    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

  21. def hashpw[F[_]](p: Array[Char])(implicit P: PasswordHasher[F, A]): F[PasswordHash[A]]

    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.

  22. def hashpw[F[_]](p: String)(implicit P: PasswordHasher[F, A]): F[PasswordHash[A]]
  23. def hashpwUnsafe(p: Array[Byte])(implicit P: PasswordHasher[Id, A]): PasswordHash[A]

    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

  24. def hashpwUnsafe(p: Array[Char])(implicit P: PasswordHasher[Id, A]): PasswordHash[A]

    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

  25. def hashpwUnsafe(p: String)(implicit P: PasswordHasher[Id, A]): PasswordHash[A]
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped