Class CryptoTypes.SharedKey256

java.lang.Object
org.symbol.sdk.ByteArray
org.symbol.sdk.CryptoTypes.SharedKey256
All Implemented Interfaces:

Serializer

Enclosing class:

CryptoTypes


public static final class CryptoTypes.SharedKey256 extends ByteArray
SharedKey256

Represents a 256-bit symmetric encryption key.

  • Field Details

  • Constructor Details

    • SharedKey256

      public SharedKey256(byte[] bytes)
      Creates a shared key from raw bytes.
      Parameters:

      bytes - Input byte array.

    • SharedKey256

      public SharedKey256(String hex)
      Creates a shared key from a hex string.
      Parameters:

      hex - Input string.