Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto.params
Class Blake3Parameters

java.lang.Object
  |
  +--org.bouncycastle.crypto.params.Blake3Parameters
All Implemented Interfaces:
CipherParameters

public class Blake3Parameters
extends java.lang.Object
implements CipherParameters

Blake3 Parameters.


Constructor Summary
Blake3Parameters()
           
 
Method Summary
 void clearKey()
          Clear the key bytes.
static Blake3Parameters context(byte[] pContext)
          Create a key parameter.
 byte[] getContext()
          Obtain the salt.
 byte[] getKey()
          Obtain the key.
static Blake3Parameters key(byte[] pKey)
          Create a key parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Blake3Parameters

public Blake3Parameters()
Method Detail

context

public static Blake3Parameters context(byte[] pContext)
Create a key parameter.
Parameters:
pContext - the context
Returns:
the parameter

key

public static Blake3Parameters key(byte[] pKey)
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

Bouncy Castle Cryptography Library 1.77.0