class KeyDerivation
(source)
Key derivation.
Multiple secret subkeys can be derived from a single master key.
Given the master key and a key identifier, a subkey can be deterministically computed. However, given a subkey, an attacker cannot compute the master key nor any other subkeys.
MasterKey |
A KeyDerivation master key. class MasterKey : Destroyable |
<init> |
Key derivation. KeyDerivation() |
contextLength |
static fun contextLength(): Int |
isAvailable |
Check if Sodium and key derivation support is available. static fun isAvailable(): Boolean |
maxSubKeyLength |
static fun maxSubKeyLength(): Int |
minSubKeyLength |
static fun minSubKeyLength(): Int |