class Salt
(source)
A PasswordHash salt.
fun bytes(): Bytes |
|
fun bytesArray(): ByteArray |
|
fun equals(other: Any?): Boolean |
|
static fun fromBytes(bytes: Bytes): Salt static fun fromBytes(bytes: ByteArray): Salt
Create a Salt from an array of bytes. The byte array must be of length |
|
fun hashCode(): Int |
|
static fun length(): Int
Obtain the length of the salt in bytes (32). |
|
static fun random(): Salt
Generate a new salt using a random generator. |