Skip to content
Poly1305
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
poly1305_clamp
poly1305_msg_block_to_big_int
util
.appveyor.yml
.travis.yml
LICENSE
README.md
mod.ts
test.ts
test_vectors.json

README.md

poly1305

Poly1305 as defined by RFC 8439.

Travis AppVeyor

API

export const OUTPUT_BYTES: number = 16;
export const KEY_BYTES: number = 32;

export function poly1305(
  out: Uint8Array,
  key: Uint8Array,
  msg: Uint8Array
): void;

poly1305 does not do any input validation. Make sure the out and key arguments are of correct size.

License

MIT

You can’t perform that action at this time.