crypto / org.apache.tuweni.crypto.sodium / PasswordHash / Salt / fromBytes

fromBytes

static fun fromBytes(bytes: Bytes): Salt (source)
static fun fromBytes(bytes: ByteArray): Salt (source)

Create a Salt from an array of bytes.

The byte array must be of length #length().

Parameters

bytes - The bytes for the seed.

Return
A seed.