Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

Hierarchy

  • Poly1305

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Poly1305(key: Uint8Array): Poly1305

Properties

digestLength

digestLength: 16 = DIGEST_LENGTH

Methods

clean

  • clean(): this

digest

  • digest(): Uint8Array

finish

  • finish(mac: Uint8Array, macpos?: number): this

update

  • update(m: Uint8Array): this

Generated using TypeDoc