Classical

constructor(passphrase: String, hash: KHashAlgorithm = KHashAlgorithm.SHA256)(source)

Parameters

passphrase

Secret used to derive the AES key.

hash

Hashing algorithm for key derivation. Default: SHA-256.