JSPM

@ton/crypto-primitives

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 111649
  • Score
    100M100P100Q183809F
  • License MIT

Package Exports

  • @ton/crypto-primitives
  • @ton/crypto-primitives/dist/browser.js
  • @ton/crypto-primitives/dist/native.js
  • @ton/crypto-primitives/dist/node.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ton/crypto-primitives) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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-random module is required: yarn install expo-random

License

MIT