hwsecurity-openpgp / de.cotech.hw.openpgp.secrets / OpenPgpByteSecretGenerator /

OpenPgpByteSecretGenerator

open class OpenPgpByteSecretGenerator

A generator for ByteSecret instances.

Functions

Name Summary
deriveWithSaltAndConsume

@Deprecated()

open fun deriveWithSaltAndConsume(secret: ByteSecret~~,~~ ~~salt~~~~:~~ String~~,~~ ~~length~~~~:~~ Int~~)~~~~:~~ ~~ByteSecret~~

Derives a ByteSecret using SHA256, compatible to RFC 5869

getInstance open fun getInstance(): OpenPgpByteSecretGenerator