Package net.overburn.redfort.keygen
Interface BasicKeyGenerator
- All Known Subinterfaces:
SecretBasedKeyGenerator,SymmetricKeyGenerator
- All Known Implementing Classes:
AESKeyGenerator,Argon2KeyGenerator,ChaCha20KeyGenerator,PBKDF2KeyGenerator
public interface BasicKeyGenerator
Derives a suitable key from a secret/password, salt, extra secret for keyed hashing. Additional info can be used to tag.
WARNING: Stick to
Argon2KeyGenerator and avoid modifying/implementing this or any implementations without understanding the ramifications.
For more info:- See Also:
-
Field Summary
Fields -
Method Summary
-
Field Details
-
ARGON2
- See Also:
-
PBKDF2_WITH_HMAC_SHA_512
- See Also:
-
AES
- See Also:
-
CHACHA20
- See Also:
-
DEFAULT_KEY_LENGTH
static final int DEFAULT_KEY_LENGTH- See Also:
-
-
Method Details
-
wrap
-
wrap
-