SharedKey256

SharedKey256

Represents a 256-bit symmetric encryption key.

Constructor

new SharedKey256(sharedKey)

Description:
  • Creates a shared key from bytes or a hex string.

Source:
Parameters:
Name Type Description
sharedKey Uint8Array | string

Input string or byte array.

Classes

SharedKey256

Members

NAME :string

Description:
  • Byte array name (required because constructor.name is dropped during minification).

Source:

Byte array name (required because constructor.name is dropped during minification).

Type:
  • string

SIZE :number

Description:
  • Byte size of raw shared key.

Source:

Byte size of raw shared key.

Type:
  • number