BCrypt

tsec.passwordhashers.jca.BCrypt$
See theBCrypt companion trait

Attributes

Companion
trait
Source
BCrypt.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
BCrypt.type

Members list

Value members

Concrete methods

def hashpwWithRounds[F[_]](p: String, rounds: Int)(implicit F: Sync[F]): F[PHash[BCrypt]]

Attributes

Source
BCrypt.scala
def hashpwWithRounds[F[_]](p: Array[Byte], rounds: Int)(implicit F: Sync[F]): F[PHash[BCrypt]]

Attributes

Source
BCrypt.scala
def hashpwWithRounds[F[_]](p: Array[Char], rounds: Int)(implicit F: Sync[F]): F[PHash[BCrypt]]

Attributes

Source
BCrypt.scala

Inherited methods

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

Attributes

Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala

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

Attributes

Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala

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

Attributes

Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala
def checkpwBool[F[_]](p: Array[Byte], hash: PHash[BCrypt])(implicit P: PasswordHasher[F, BCrypt]): 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

Attributes

Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala
def checkpwBool[F[_]](p: Array[Char], hash: PHash[BCrypt])(implicit P: PasswordHasher[F, BCrypt]): 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

Attributes

Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala
def checkpwBool[F[_]](p: String, hash: PHash[BCrypt])(implicit P: PasswordHasher[F, BCrypt]): 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

Attributes

Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala

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

Attributes

Returns
Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala

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

Attributes

Returns
Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala

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

Attributes

Returns
Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala
def hashpw[F[_]](p: Array[Byte])(implicit P: PasswordHasher[F, BCrypt]): F[PHash[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.

Value parameters

p

the encoded password

Attributes

Returns
Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala
def hashpw[F[_]](p: Array[Char])(implicit P: PasswordHasher[F, BCrypt]): F[PHash[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.

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.

Attributes

Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala
def hashpw[F[_]](p: String)(implicit P: PasswordHasher[F, BCrypt]): F[PHash[A]]

Attributes

Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala
def hashpwUnsafe(p: Array[Byte])(implicit P: PasswordHasher[Id, BCrypt]): PHash[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

Value parameters

p

the encoded password

Attributes

Returns
Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala
def hashpwUnsafe(p: Array[Char])(implicit P: PasswordHasher[Id, BCrypt]): PHash[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.

Value parameters

p

the encoded password

Attributes

Returns
Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala
def hashpwUnsafe(p: String)(implicit P: PasswordHasher[Id, BCrypt]): PHash[A]

Attributes

Inherited from:
PasswordHashAPI
Source
PasswordHashAPI.scala

Implicits

Inherited implicits

Attributes

Inherited from:
JCAPasswordPlatform
Source
JCAPasswordPlatform.scala
implicit def syncPasswordHasher[F[_]](implicit F: Sync[F]): PasswordHasher[F, A]

Attributes

Inherited from:
JCAPasswordPlatform
Source
JCAPasswordPlatform.scala