mirror of
https://github.com/logos-blockchain/sponges.git
synced 2026-07-30 02:23:31 +00:00
58 lines
2.1 KiB
Markdown
58 lines
2.1 KiB
Markdown
|
|
# RustCrypto: bash-f
|
||
|
|
|
||
|
|
[![crate][crate-image]][crate-link]
|
||
|
|
[![Docs][docs-image]][docs-link]
|
||
|
|
![Apache2/MIT licensed][license-image]
|
||
|
|
![Rust Version][rustc-image]
|
||
|
|
[![Project Chat][chat-image]][chat-link]
|
||
|
|
[![Build Status][build-image]][build-link]
|
||
|
|
|
||
|
|
# BelHash - [STB 34.101.77-2020] Sponge-Based Cryptographic Algorithms
|
||
|
|
|
||
|
|
This module implements the cryptographic algorithms defined in the Belarusian
|
||
|
|
state standard STB 34.101.77-2020 "Sponge-based cryptographic algorithms".
|
||
|
|
|
||
|
|
## Overview
|
||
|
|
|
||
|
|
The standard defines a family of cryptographic algorithms built on a sponge
|
||
|
|
construction with the `bash-f` sponge function at its core. The sponge function
|
||
|
|
operates on 1536-bit (192-byte) states.
|
||
|
|
|
||
|
|
## Security Notes
|
||
|
|
|
||
|
|
No security audits of this crate have ever been performed, and it has not been thoroughly assessed to ensure its operation is constant-time on common CPU architectures.
|
||
|
|
|
||
|
|
USE AT YOUR OWN RISK!
|
||
|
|
|
||
|
|
## License
|
||
|
|
|
||
|
|
Licensed under either of:
|
||
|
|
|
||
|
|
* [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
|
||
|
|
* [MIT license](https://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)
|
||
|
|
|
||
|
|
[crate-image]: https://buildstats.info/crate/bash-f
|
||
|
|
[crate-link]: https://crates.io/crates/bash-f
|
||
|
|
[docs-image]: https://docs.rs/bash-f/badge.svg
|
||
|
|
[docs-link]: https://docs.rs/bash-f/
|
||
|
|
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
|
||
|
|
[rustc-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
|
||
|
|
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
|
||
|
|
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260038-AEADs
|
||
|
|
[downloads-image]: https://img.shields.io/crates/d/chacha20poly1305.svg
|
||
|
|
[build-image]: https://github.com/RustCrypto/AEADs/workflows/bash-f/badge.svg?branch=master&event=push
|
||
|
|
[build-link]: https://github.com/RustCrypto/AEADs/actions
|
||
|
|
|
||
|
|
[//]: # (general links)
|
||
|
|
|
||
|
|
[STB 34.101.77-2020]: https://apmi.bsu.by/assets/files/std/bash-spec241.pdf
|