0.1.2 • Published 10 years ago
cabrel-crypto-wrapper v0.1.2
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
- Requiredpassword
- Requiredoptions
- Optional; defaults to Iron.defaults
- Outputs
- String
- Inputs
unseal(data, password, options)
- Inputs
data
- Requiredpassword
- Requiredoptions
- Optional; defaults to Iron.defaults
- Outputs
unsealed object
- Inputs
pbkdf2
authenticate(password, salt, hash)
- Inputs
password
- Requiredsalt
- Requiredhash
- Required
- Outputs
- Boolean
- Inputs
generate(password, salt)
- Inputs
password
- Requiredsalt
- Optional
- Outputs
- Object:
hash
salt
- Object:
- Inputs
sha
authenticate512(password, salt, hash)
- Inputs
password
- Requiredsalt
- Requiredhash
- Required
- Outputs
- Boolean
- Inputs
generate512(password, salt)
- Inputs
password
- Requiredsalt
- Optional
- Outputs
- Object:
hash
salt
- Object:
- Inputs