An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/dchest/passwordhash

Package passwordhash implements safe password hashing and comparison. THIS PACKAGE IS DEPRECATED. SEE README. To retain compatibility with previously generated hashes while avoiding the 2x speedup attack, please import "github.com/dchest/passwordhash/fixed/passwordhash" instead of this package Hashes are derived using PBKDF2-HMAC-SHA256 function with 5000 iterations (by default), 32-byte salt and 64-byte output. Note: you must not allow users to change parameters of PasswordHash, such as the number of iterations, directly. If a malicious user can change the number of iterations, he can set it too high, and it will lead to DoS. Example usage:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/dchest/passwordhash
License: MIT
Latest release: about 12 years ago
First release: about 12 years ago
Namespace: github.com/dchest
Stars: 8 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago

    Loading...
    Readme
    Loading...