Skip to content

About Cryptographic primitives that works in browser, nodejs and react native

License

Notifications You must be signed in to change notification settings

ton-org/ton-crypto-primitives

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TON crypto primitives

Cross-platform crypto primitives for building apps for TON blockchain. For internal implementation of @ton/crypto.

Version npm

Features

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

Installation

yarn add @ton/crypto-primitives buffer

Browser polyfill

// Add before using library
require("buffer");

React Native

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

License

MIT

About

About Cryptographic primitives that works in browser, nodejs and react native

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%