https://github.com/madmath03/password
A simple utility class to hash passwords and check passwords VS hashed values.
https://github.com/madmath03/password
Last synced: 3 months ago
JSON representation
A simple utility class to hash passwords and check passwords VS hashed values.
- Host: GitHub
- URL: https://github.com/madmath03/password
- Owner: madmath03
- License: mit
- Created: 2017-07-15T11:38:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-24T14:59:37.000Z (over 8 years ago)
- Last Synced: 2025-03-06T03:48:12.957Z (over 1 year ago)
- Language: Java
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Java Passwords
[](https://travis-ci.org/madmath03/password)
[](https://codecov.io/gh/madmath03/password)
A simple utility class to hash passwords and check passwords VS hashed values.
## Summary
It uses a combination of hashing and unique salt. The algorithm used is **PBKDF2WithHmacSHA512** which, although not the best for hashing password (vs. *bcrypt*) is still considered robust and recommended by NIST. The hashed value has 512 bits.
This utility is inspired from the following links:
* [How do I generate a SALT in Java for Salted-Hash?](https://stackoverflow.com/a/18143616)
* [How can I hash a password in Java?](https://stackoverflow.com/a/2861125)
* [Do any security experts recommend bcrypt for password storage?](https://stackoverflow.com/a/18143616)
* [Salted Password Hashing - Doing it Right](https://crackstation.net/hashing-security.htm)
## Contributing
See [CONTRIBUTING](https://github.com/madmath03/password/blob/master/CONTRIBUTING.md) file.
## License
This product is distributed under the MIT Licence.
See the complete license in the bundle:
[Read the license](https://github.com/madmath03/password/blob/master/LICENSE)