PublicKey

PublicKey

Represents a public key.

Constructor

new PublicKey(publicKey)

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

Source:
Parameters:
Name Type Description
publicKey Uint8Array | string | PublicKey

Input string, byte array or public key.

Classes

PublicKey

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 public key.

Source:

Byte size of raw public key.

Type:
  • number