Wrappers around various NodeJS cryptographic functions
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
Makefile
README.md
index.js
package.json

README.md

Build Status Views in the last 24 hours

cabrel-crypto-wrapper

Wrappers around various cryptographic functions

Crypto

Most of these methods are wrappers around other implementations. The reason is to have all of the argument validation and preparation done already

  • aspnet
    • authenticate(password, salt, hash)
    • generate(password, salt)
  • iron
    • seal(data, password, options)
      • Inputs
        • data - Required
        • password - Required
        • options - Optional; defaults to Iron.defaults
      • Outputs
        • String
    • unseal(data, password, options)
      • Inputs
        • data - Required
        • password - Required
        • options - Optional; defaults to Iron.defaults
      • Outputs
        • unsealed object
  • pbkdf2
    • authenticate(password, salt, hash)
      • Inputs
        • password - Required
        • salt - Required
        • hash - Required
      • Outputs
        • Boolean
    • generate(password, salt)
      • Inputs
        • password - Required
        • salt - Optional
      • Outputs
        • Object:
          • hash
          • salt
  • sha
    • authenticate512(password, salt, hash)
      • Inputs
        • password - Required
        • salt - Required
        • hash - Required
      • Outputs
        • Boolean
    • generate512(password, salt)
      • Inputs
        • password - Required
        • salt - Optional
      • Outputs
        • Object:
          • hash
          • salt