Release v0.0.8 - 2024-05-12
Hash (HSH) v0.0.8
Quantum-Resistant Cryptographic Hash Library for Password Hashing and
Verification
Part of the Mini Functions family of libraries.
β’ Website β’ Documentation β’ Report Bug β’ Request Feature β’ Contributing Guidelines
Overview π
The Hash (HSH)
Rust library provides an interface for implementing secure hash and digest algorithms, specifically designed for password encryption and verification.
The library provides a simple API that makes it easy to store and verify hashed passwords. It enables robust security for passwords, using the latest advancements in Quantum-resistant cryptography. Quantum-resistant cryptography refers to cryptographic algorithms, that are thought to be secure against an attack by a quantum computer. As quantum computing continues to advance, this feature of the library assures that the passwords managed through this system remain secure even against cutting-edge computational capabilities.
The library supports the following Password Hashing Schemes (Password Based Key Derivation Functions):
- Argon2i: A cutting-edge and highly secure key derivation function designed to protect against both traditional brute-force attacks and rainbow table attacks. (Recommended)
- Bcrypt: A password hashing function designed to be secure against brute-force attacks. It is a work-factor function, which means that it takes a certain amount of time to compute. This makes it difficult to attack with a brute-force algorithm.
- Scrypt: A password hashing function designed to be secure against both brute-force attacks and rainbow table attacks. It is a memory-hard and work-factor function, which means that it requires a lot of memory and time to compute. This makes it very difficult to attack with a GPU or other parallel computing device.
Features β¨
- Compliant with multiple Password Hashing Schemes (Password Based Key Derivation Functions) such as Argon2i, Bcrypt and Scrypt. This makes the library more versatile and can be used in a variety of applications.
- Quantum-resistant, making it secure against future attacks using quantum computers. This is an important feature as quantum computers become more powerful.
- Easy to use. The library provides a simple API that makes it easy to store and verify hashed passwords.
- Can be integrated into a variety of applications. The library is written in Rust, which makes it easy to integrate into any Rust project and is fast, efficient, and secure.
Changelog π
Documentation:
- π Updated
README.md
with platform support. - π fix Expected: 80; Actual: 103
Refactorings:
- β Removed logger functions.
Testing:
- β
Added new tests for
test_argon2i.rs
and updated copyrights. - β
Added new unit tests for
test_bcrypt
.
What's Changed
- Merge pull request #87 from sebastienrousseau/feat/hsh
- build(deps): bump serde from 1.0.190 to 1.0.193 by @dependabot in #47
- build(deps): bump dtt from 0.0.4 to 0.0.5 by @dependabot in #48
- build(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in #49
- build(deps): bump anyhow from 1.0.75 to 1.0.76 by @dependabot in #50
- build(deps): bump vrd from 0.0.4 to 0.0.5 by @dependabot in #51
- build(deps): bump anyhow from 1.0.76 to 1.0.77 by @dependabot in #52
- build(deps): bump anyhow from 1.0.77 to 1.0.78 by @dependabot in #54
- build(deps): bump serde_json from 1.0.108 to 1.0.109 by @dependabot in #53
- build(deps): bump anyhow from 1.0.78 to 1.0.79 by @dependabot in #56
- build(deps): bump serde_json from 1.0.109 to 1.0.111 by @dependabot in #58
- build(deps): bump serde from 1.0.193 to 1.0.195 by @dependabot in #57
- build(deps): bump base64 from 0.21.5 to 0.21.6 by @dependabot in #59
- build(deps): bump base64 from 0.21.6 to 0.21.7 by @dependabot in #60
- build(deps): bump assert_cmd from 2.0.12 to 2.0.13 by @dependabot in #61
- build(deps): bump actions/cache from 3 to 4 by @dependabot in #62
- build(deps): bump serde from 1.0.195 to 1.0.196 by @dependabot in #64
- build(deps): bump codecov/codecov-action from 3 to 4 by @dependabot in #65
- build(deps): bump anyhow from 1.0.79 to 1.0.82 by @dependabot in #74
- build(deps): bump peaceiris/actions-gh-pages from 3 to 4 by @dependabot in #73
- build(deps): bump bcrypt from 0.15.0 to 0.15.1 by @dependabot in #75
- build(deps): bump base64 from 0.21.7 to 0.22.0 by @dependabot in #76
- build(deps): bump serde from 1.0.196 to 1.0.198 by @dependabot in #78
- build(deps): bump serde_json from 1.0.111 to 1.0.116 by @dependabot in #77
- build(deps): bump serde from 1.0.198 to 1.0.199 by @dependabot in #80
- build(deps): bump serde from 1.0.199 to 1.0.201 by @dependabot in #83
- build(deps): bump dtt from 0.0.5 to 0.0.6 by @dependabot in #85
- build(deps): bump anyhow from 1.0.82 to 1.0.83 by @dependabot in #86
- v0.0.8 by @sebastienrousseau in #87
Full Changelog: v0.0.7...v0.0.8