Poly1305 computes 16-byte authenticator of message using a one-time 32-byte key.

Important: key should be used for only one message, it should never repeat.

Constructors

Properties

Methods

Constructors

Properties

digestLength: 16 = DIGEST_LENGTH

Methods

  • Parameters

    • mac: Uint8Array
    • macpos: number = 0

    Returns this

  • Parameters

    • m: Uint8Array

    Returns this