https://github.com/calebboyd/derived-key
pbkdf2 password/secret hashing
https://github.com/calebboyd/derived-key
Last synced: 3 months ago
JSON representation
pbkdf2 password/secret hashing
- Host: GitHub
- URL: https://github.com/calebboyd/derived-key
- Owner: calebboyd
- License: mit
- Created: 2015-01-11T04:24:22.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T18:41:10.000Z (almost 3 years ago)
- Last Synced: 2025-08-23T10:44:06.027Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 914 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## derived-key
Generate a secure (one-way) hash to store secrets with
```javascript
import { hash, verify } from 'derived-key'
async function main () {
const hashed = await hash('password')
return verify('password', hashed)
}
main().then(x => console.log(x)) //true
```
### Building & Testing
`npm i`
`npm run watch`