Interface KeysetDeriver


  • @Immutable
    public interface KeysetDeriver
    KeysetDeriver is the interface used to derive new keysets based on an additional input, the salt.

    The salt is used to create the keyset using a pseudorandom function. Implementations must be indistinguishable from ideal KeysetDerivers, which, for every salt, generates a new random keyset and caches it.

    • Method Detail

      • deriveKeyset

        KeysetHandle deriveKeyset​(byte[] salt)
                           throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException