Expand description
Cryptography Utils for Rust
§Importing
The driver is available on crates-io. To use the driver in
your application, simply add it to your project’s Cargo.toml
.
[dependencies]
crypto-utils = "0.4.0"
§How to use?
Check jsonwebtoken and sha modules.
§All Feature flags
Feature | Description | Dependencies | Default |
---|---|---|---|
sha | Enable support for the Sha1, Sha256 and Sha512 hasher | sha and sha2 | yes |
jwt | Enable support for the Json Web Token utils | chrono , serde and jsonwebtoken | yes |
Modules§
- jsonwebtoken
- Module for creating and decoding json web token.
- sha
- Module for creating sha1, sha256 and sha512 hashes.