Crates.io | hsh |
lib.rs | hsh |
version | 0.0.8 |
source | src |
created_at | 2023-02-05 22:52:01.318354 |
updated_at | 2024-05-12 07:09:31.686754 |
description | Quantum-Resistant Cryptographic Hash Library for Password Encryption and Verification in Rust. |
homepage | https://hshlib.com/ |
repository | https://github.com/sebastienrousseau/hsh/ |
max_upload_size | |
id | 777482 |
size | 154,339 |
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
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, usually
public-key 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):
The library is a valuable tool for developers who need to store and verify passwords in a secure manner. It is easy to use and can be integrated into a variety of applications.
Hash (HSH) provides a secure way to store and verify hashed passwords. Passwords are hashed using the argon2i, bcrypt, scrypt algorithms, which are considered one of the most secure hashing algorithms available today. The library provides a simple interface for generating and verifying hashes, making it easy to implement secure password storage in any Rust application.
Hash (HSH) includes simple functions for generating and verifying password hashes, and managing password and salt values. Developers can easily integrate the library into their Rust projects and start using it right away. The library is designed to be intuitive and easy to use, so developers can build apps without worrying about password security.
Hash (HSH) allows users to customize the length of passwords and salts used in generating hashes. This flexibility allows developers to tailor the library to their specific needs, whether they require shorter or longer password and salt values. The library also includes macros that make it easy to work with the Hash structure, allowing developers to quickly and easily set and retrieve password and salt values.
Hash (HSH) is a lightweight library that can easily integrate into any Rust project. The library has no external dependencies and is efficient. It means that developers can add secure password storage to their applications without having to worry about significant performance overheads.
It takes just a few minutes to get up and running with hsh
.
The minimum supported Rust toolchain version is currently Rust 1.60 or later (stable). It is recommended that you install the latest stable version of Rust.
hsh
supports a variety of CPU architectures. It is supported and tested on
MacOS, Linux, and Windows.
ℹ️ Info: Please check out our website for more information and find our documentation on docs.rs, lib.rs and crates.io.
To use hsh
in your project, add the following to your Cargo.toml
file:
[dependencies]
hsh = "0.0.8"
Add the following to your main.rs
file:
extern crate hsh;
use hsh::*;
then you can use the functions in your application code.
Hash (HSH)
comes with a set of examples that you can use to get
started. The examples are located in the examples
directory of the
project. To run the examples, clone the repository and run the following
command in your terminal from the project root directory.
cargo run --example hsh
For transparency into our release cycle and in striving to maintain
backward compatibility, Hash (HSH)
follows semantic versioning.
The project is licensed under the terms of both the MIT license and the Apache License (Version 2.0).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
A big thank you to all the awesome contributors of Mini Functions for their help and support.
And a special thank you goes to the Rust Reddit community for providing a lot of useful suggestions on how to improve this project.