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

0.28.0 • Public • Published

@node-lightning/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 @node-lightning/crypto

Weekly Downloads

435

Version

0.28.0

License

MIT

Unpacked Size

255 kB

Total Files

81

Last publish

Collaborators

  • bmancini55