Package org.bouncycastle.crypto.params
Class Blake3Parameters
java.lang.Object
org.bouncycastle.crypto.params.Blake3Parameters
- All Implemented Interfaces:
CipherParameters
Blake3 Parameters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearKey()
Clear the key bytes.static Blake3Parameters
context
(byte[] pContext) Create a key parameter.byte[]
Obtain the salt.byte[]
getKey()
Obtain the key.static Blake3Parameters
key
(byte[] pKey) Create a key parameter.
-
Constructor Details
-
Blake3Parameters
public Blake3Parameters()
-
-
Method Details
-
context
Create a key parameter.- Parameters:
pContext
- the context- Returns:
- the parameter
-
key
Create a key parameter.- Parameters:
pKey
- the key- Returns:
- the parameter
-
getKey
public byte[] getKey()Obtain the key.- Returns:
- the key
-
clearKey
public void clearKey()Clear the key bytes. -
getContext
public byte[] getContext()Obtain the salt.- Returns:
- the salt
-