trait PasswordHasher[F[_], A] extends AnyRef
- Alphabetic
- By Inheritance
- PasswordHasher
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def checkpwBool(p: Array[Byte], hash: PasswordHash[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
- abstract def checkpwBool(p: Array[Char], hash: PasswordHash[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
- abstract def hashpw(p: Array[Byte]): 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
- abstract def hashpw(p: Array[Char]): 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.
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkpw(p: Array[Byte], hash: PasswordHash[A])(implicit F: Functor[F]): 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
- def checkpw(p: Array[Char], hash: PasswordHash[A])(implicit F: Functor[F]): 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
- final def checkpw(p: String, hash: PasswordHash[A])(implicit F: Functor[F]): 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
- final def checkpwBool(p: String, hash: PasswordHash[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
- final def checkpwUnsafe(p: Array[Char], hash: PasswordHash[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
- final def checkpwUnsafe(p: Array[Byte], hash: PasswordHash[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
- final def checkpwUnsafe(p: String, hash: PasswordHash[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
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def hashpw(p: String): F[PasswordHash[A]]
- final def hashpwUnsafe(p: Array[Byte]): 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
- final def hashpwUnsafe(p: Array[Char]): 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
- final def hashpwUnsafe(p: String): PasswordHash[A]
- 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
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
- @native() @throws(classOf[java.lang.InterruptedException])