bcrypt

com.geirolz.secret.util.Hasher.bcrypt
object bcrypt extends Hasher

Attributes

Graph
Supertypes
trait Hasher
class Object
trait Matchable
class Any
Self type
bcrypt.type

Members list

Value members

Concrete methods

def hash(bytes: => Array[Byte], maxSize: Option[Int]): ByteBuffer

Hashes the given characters using BCrypt

Hashes the given characters using BCrypt

Value parameters

bytes

the characters to hash, maximum 72 characters

maxSize

the maximum size of the resulting hash

Attributes

Returns

the hash of the given characters