wampy-cra.js
WAMP Challenge Response Authentication plugin for Wampy.js.!NPM versionnpm-imagenpm-url !Build Statusgh-build-test-imagegh-build-test-url !Code coveragecoveralls-imagecoveralls-url !MIT Licenselicense-imagelicense-url !Known Vulnerabilitiessnyk-imagesnyk-url
Description
wampy-cra exposes 3 methods:- deriveKey(secret, salt, iterations = 1000, keylen = 32). Used to generate a derived key using PBKDF2 scheme.
- signManual(key, challenge). Used to sign a challenge message, using a key, using SHA256 algorithm.
- sign(secret). Probably the only function you need. Used to automatically create a
See examples in Wampy.js docs section "Challenge Response Authentication"
Thanks JetBrains for the best IDEs and support for open source!
!jetbrains logojetbrains url