Skip to content
Wampy Challenge Response Authentication plugin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
src
test
.babelrc
.editorconfig
.eslintrc.json
.gitignore
.travis.yml
LICENSE
README.md
gruntfile.js
package.json

README.md

wampy-cra.js

WAMP Challenge Response Authentication plugin for Wampy.js.

NPM version Build Status Code coverage Dependency Status DevDependency Status MIT License Greenkeeper badge

Description

wampy-cra exposes 3 methods:

  • derive_key(secret, salt, iterations = 1000, keylen = 32). Used to generate a derived key using PBKDF2 scheme.
  • sign(key, challenge). Used to sign a challenge message, using a key, using SHA256 algorithm.
  • auto(secret). Probably the only function you need. Used to automatically detect needed algorythm to create a signed message, using only secret key. This function can be passed as onChallenge callback.

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

You can’t perform that action at this time.