cabrel-crypto-wrapper

0.1.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i cabrel-crypto-wrapper

Weekly Downloads

2

Version

0.1.2

License

MIT

Last publish

Collaborators

  • cabrel