0.2.0 • Published 1 year ago

wampy-cra v0.2.0

Weekly downloads
806
License
MIT
Repository
github
Last release
1 year ago

wampy-cra.js

WAMP Challenge Response Authentication plugin for Wampy.js.

NPM version Build Status Code coverage MIT License Known Vulnerabilities

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 signed message, using only secret key. This function can be passed as onChallenge callback.

See examples in Wampy.js docs section "Challenge Response Authentication"

Thanks JetBrains for the best IDEs and support for open source!

jetbrains logo

0.2.0

1 year ago

0.1.2

4 years ago

0.1.1

7 years ago

0.1.0

8 years ago