npm.io
2.0.0 • Published 4 years ago

ton-crypto-primitives

Licence
MIT
Version
2.0.0
Deps
1
Size
17 kB
Vulns
0
Weekly
0
Stars
3

TON crypto primitives

Version npm

Cross-platform crypto primitives for building apps for TON blockchain. For internal imlementation of ton-crypto.

Features

  • Crypto primitives: SHA-256, SHA-512, PBKDF2-SHA-256, HMAC-SHA-512
  • Promise-based API
  • Built on top of Buffer (polifil required in browsers)
  • No reimplemented crypto

Install

yarn add ton-crypto-primitives buffer
Browser polifil
// Add before using library
require("buffer");

React Native

To make it work on react native expo-random module is required: yarn install expo-random

License

MIT