JSPM

evp_bytestokey

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9493624
  • Score
    100M100P100Q214372F
  • License MIT

he super secure key derivation algorithm from openssl

Package Exports

  • evp_bytestokey

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

Readme

EVP_BytesToKey

The super secure key derivation algorithm from openssl (spoiler alert not actually secure, only every use it for compatibility reasons).

Api:

var result = EVP_BytesToKey('password', 'salt', keyLen, ivLen);
Buffer.isBuffer(result.password); // true
Buffer.isBuffer(result.iv); // true