crypto-flavor
Digest password, encrypt/decrypt salt
Usage
npm install --save crypto-flavor
user creation example
const express = ;const crypto = ;const randomstring = ;const mongoose = ; const router = express;const User = mongoose; router;
user auth example
const express = ;const crypto = ;const randomstring = ;const mongoose = ;const jwt = ;const env = ; const router = express;const User = mongoose; router;