Package org.symbol.sdk
Class CryptoTypes.SharedKey256
java.lang.Object
org.symbol.sdk.ByteArray
org.symbol.sdk.CryptoTypes.SharedKey256
- All Implemented Interfaces:
Serializer
- Enclosing class:
CryptoTypes
- SharedKey256
- Represents a 256-bit symmetric encryption key.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSharedKey256(byte[] bytes) Creates a shared key from raw bytes.SharedKey256(String hex) Creates a shared key from a hex string. -
Method Summary
-
Field Details
-
SIZE
public static final int SIZEByte size of raw shared key.- See Also:
-
-
Constructor Details
-
SharedKey256
public SharedKey256(byte[] bytes) Creates a shared key from raw bytes.- Parameters:
bytes- Input byte array.
-
SharedKey256
Creates a shared key from a hex string.- Parameters:
hex- Input string.
-