trait PasswordHashAPI[A] extends AnyRef
- Source
- PasswordHashAPI.scala
- Alphabetic
- By Inheritance
- PasswordHashAPI
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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[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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- 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.
- def hashpw[F[_]](p: String)(implicit P: PasswordHasher[F, A]): F[PasswordHash[A]]
- 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
- 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
- def hashpwUnsafe(p: String)(implicit P: PasswordHasher[Id, A]): 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.