https://github.com/messense/sha512-crypt
Python binding to Rust sha-crypt password hashing crate
https://github.com/messense/sha512-crypt
Last synced: 3 months ago
JSON representation
Python binding to Rust sha-crypt password hashing crate
- Host: GitHub
- URL: https://github.com/messense/sha512-crypt
- Owner: messense
- License: mit
- Created: 2021-09-17T11:55:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T20:14:22.000Z (about 3 years ago)
- Last Synced: 2025-11-27T20:06:39.266Z (6 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sha512-crypt

[](https://pypi.org/project/sha512-crypt)
Python binding to Rust [sha-crypt](https://github.com/RustCrypto/password-hashes/tree/master/sha-crypt) password hashing crate.
## Installation
```bash
pip install sha512-crypt
```
## Usage
```python
import sha512_crypt
password = 'abc'
hashed = sha512_crypt.encrypt(password)
assert sha512_crypt.verify(password, hashed), 'wrong password'
```
## License
This work is released under the MIT license. A copy of the license is provided in the [LICENSE](./LICENSE) file.