5.0.0 • Published 3 months ago

@toruslabs/starkware-crypto v5.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@toruslabs/starkware-crypto

npm version

Signatures, keys and Pedersen hash on STARK friendly elliptic curve.

Installation

Bundling

This module is distributed in 3 formats:

  • main build: dist/lib.cjs/index.js in CommonJS format
  • module build: dist/lib.esm/index.js in ESModule format (preferred for bundlers)
  • browser build: dist/starkwareCrypto.umd.js in UMD format for direct use in browsers

Install via package manager

npm install @toruslabs/starkware-crypto

Directly in Browser

CDN's serve the non-core-js polyfilled version by default.

jsdeliver

Usage

Signature

import { sign, verify } from '@toruslabs/starkware-crypto';

sign(keyPair, msgHash);

verify(keyPair, msgHash, signature);
5.0.0

3 months ago

4.0.1

7 months ago

4.0.0

1 year ago

3.1.0

1 year ago

3.0.0

2 years ago

2.0.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

3 years ago

1.0.0

4 years ago