Class Blake3Parameters

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

public class Blake3Parameters extends Object implements CipherParameters
Blake3 Parameters.
  • Constructor Details

    • Blake3Parameters

      public Blake3Parameters()
  • Method Details

    • 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