cabrel-crypto-wrapper
v0.1.2
Published
Wrapper around various existing crypto functions
Readme
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
aspnetauthenticate(password, salt, hash)generate(password, salt)
ironseal(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
pbkdf2authenticate(password, salt, hash)- Inputs
password- Requiredsalt- Requiredhash- Required
- Outputs
- Boolean
- Inputs
generate(password, salt)- Inputs
password- Requiredsalt- Optional
- Outputs
- Object:
hashsalt
- Object:
- Inputs
shaauthenticate512(password, salt, hash)- Inputs
password- Requiredsalt- Requiredhash- Required
- Outputs
- Boolean
- Inputs
generate512(password, salt)- Inputs
password- Requiredsalt- Optional
- Outputs
- Object:
hashsalt
- Object:
- Inputs


