This package has been deprecated

Author message:

Moved to @node-lightning/crypto

@lntools/crypto
TypeScript icon, indicating that this package has built-in type declarations

0.10.0 • Public • Published

@lntools/crypto

This packages uses the native Node.js crypto for all functionality except secp256k1. This package requires Node.js 10.17+.

This package provides cryptographic functions for use in LN Tools:

  • sha256
  • hash160
  • hkdf
  • secp256k1 ECDH
  • secp256k1 private key generation
  • secp256k1 public key derivation
  • chacha20-poly1305 AEAD

Readme

Keywords

none

Package Sidebar

Install

npm i @lntools/crypto

Weekly Downloads

0

Version

0.10.0

License

MIT

Unpacked Size

195 kB

Total Files

72

Last publish

Collaborators

  • bmancini55