JSPM

@polkadot/util-crypto

0.26.26
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 171136
  • Score
    100M100P100Q171437F
  • License ISC

A collection of useful crypto utilities for @polkadot

Package Exports

  • @polkadot/util-crypto
  • @polkadot/util-crypto/blake2/asU8a
  • @polkadot/util-crypto/index
  • @polkadot/util-crypto/keccak/asU8a
  • @polkadot/util-crypto/nacl
  • @polkadot/util-crypto/nacl/decrypt
  • @polkadot/util-crypto/nacl/encrypt
  • @polkadot/util-crypto/nacl/keypair/fromSecret
  • @polkadot/util-crypto/nacl/keypair/fromSeed
  • @polkadot/util-crypto/nacl/sign
  • @polkadot/util-crypto/nacl/verify
  • @polkadot/util-crypto/random/asU8a
  • @polkadot/util-crypto/xxhash/asU8a
  • @polkadot/util-crypto/xxhash/xxhash64/asHex

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 (@polkadot/util-crypto) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

polkadotjs isc style npm travis maintainability coverage dependency devDependency

@polkadot/util-crypto

Various useful cyrpto utility functions that are used across all projects in the @polkadot namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.

Available Utilities

For a list of currently exposed methods, see the library documentation.