https://github.com/RustCrypto/utils
Utility crates used in RustCrypto
https://github.com/RustCrypto/utils
Last synced: 9 months ago
JSON representation
Utility crates used in RustCrypto
- Host: GitHub
- URL: https://github.com/RustCrypto/utils
- Owner: RustCrypto
- Created: 2016-12-25T02:33:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T08:20:04.000Z (over 1 year ago)
- Last Synced: 2024-11-08T16:18:41.708Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 1.94 MB
- Stars: 442
- Watchers: 14
- Forks: 129
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# RustCrypto: Utilities
[![Project Chat][chat-image]][chat-link]
[![dependency status][deps-image]][deps-link]
![Apache2/MIT licensed][license-image]
This repository contains various utility crates used in the RustCrypto project.
## Crates
| Name | crates.io | Docs | Description |
|------|:---------:|:----:|-------------|
| [`blobby`] | [](https://crates.io/crates/blobby) | [](https://docs.rs/blobby) | Decoder of the simple de-duplicated binary blob storage format |
| [`block-buffer`] | [](https://crates.io/crates/block-buffer) | [](https://docs.rs/block-buffer) | Fixed size buffer for block processing of data |
| [`block‑padding`] | [](https://crates.io/crates/block-padding) | [](https://docs.rs/block-padding) | Padding and unpadding of messages divided into blocks |
| [`cmov`] | [](https://crates.io/crates/cmov) | [](https://docs.rs/cmov) | Conditional move intrinsics |
| [`collectable`] | [](https://crates.io/crates/collectable) | [](https://docs.rs/collectable) | Fallible, `no_std`-friendly collection traits |
| [`cpufeatures`] | [](https://crates.io/crates/cpufeatures) | [](https://docs.rs/cpufeatures) | Lightweight and efficient alternative to the `is_x86_feature_detected!` macro |
| [`dbl`] | [](https://crates.io/crates/dbl) | [](https://docs.rs/dbl) | Double operation in Galois Field (GF) |
| [`digest-io`] | [](https://crates.io/crates/digest-io) | [](https://docs.rs/digest-io) | `std::io`-compatibility wrappers for traits defined in the `digest` crate |
| [`hex-literal`] | [](https://crates.io/crates/hex-literal) | [](https://docs.rs/hex-literal) | A macro for converting hexadecimal strings to a byte array at compile time |
| [`inout`] | [](https://crates.io/crates/inout) | [](https://docs.rs/inout) | Custom reference types for code generic over in-place and buffer-to-buffer modes of operation. |
| [`opaque-debug`] | [](https://crates.io/crates/opaque-debug) | [](https://docs.rs/opaque-debug) | Macro for opaque `Debug` trait implementation |
| [`wycheproof2blb`] | | | | Utility for converting [Wycheproof] test vectors to the blobby format |
| [`zeroize`] | [](https://crates.io/crates/zeroize) | [](https://docs.rs/zeroize) | Securely zero memory while avoiding compiler optimizations |
## License
All crates licensed under either of
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](http://opensource.org/licenses/MIT)
at your option.
### Contribution
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.
[//]: # (badges)
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260052-utils
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[deps-image]: https://deps.rs/repo/github/RustCrypto/utils/status.svg
[deps-link]: https://deps.rs/repo/github/RustCrypto/utils
[//]: # (crates)
[`blobby`]: ./blobby
[`block-buffer`]: ./block-buffer
[`block‑padding`]: ./block-padding
[`cmov`]: ./cmov
[`collectable`]: ./collectable
[`cpufeatures`]: ./cpufeatures
[`dbl`]: ./dbl
[`digest-io`]: ./digest-io
[`hex-literal`]: ./hex-literal
[`inout`]: ./inout
[`opaque-debug`]: ./opaque-debug
[`wycheproof2blb`]: ./wycheproof2blb
[`zeroize`]: ./zeroize
[//]: # (misc)
[Wycheproof]: https://github.com/google/wycheproof