Signature

Signature

Represents a signature.

Constructor

new Signature(signature)

Description:
  • Creates a signature from bytes or a hex string.

Source:
Parameters:
Name Type Description
signature Uint8Array | string

Input string or byte array.

Classes

Signature

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 signature.

Source:

Byte size of raw signature.

Type:
  • number

Methods

(static) zero() → {Signature}

Description:
  • Creates a zeroed signature.

Source:
Returns:

Zeroed signature.

Type
Signature