pbkdf2-compat

This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes()

Usage no npm install needed!

<script type="module">
  import pbkdf2Compat from 'https://cdn.skypack.dev/pbkdf2-compat';
</script>

README

Depreciated, this library can now be found at pbkdf2.

build status Coverage Status Version

This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes()

Usage

var compat = require('pbkd2f-compat')
var derivedKey = compat.pbkdf2Sync('password', 'salt', 1, 32, 'sha512')

...

Credits

This module is a derivative of https://github.com/cryptocoinjs/pbkdf2-sha256/, so thanks to JP Richardson for laying the ground work.