Skip to content

Commit 217dd77

Browse files
committed
Rename ascon-hash => ascon-hash256
We no longer control the `ascon-hash` name. This follows a similar rename we did for AEADs: `ascon-aead` => ascon-aead128`
1 parent 608445a commit 217dd77

File tree

13 files changed

+23
-23
lines changed

13 files changed

+23
-23
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ascon-hash
1+
name: ascon-hash256
22

33
on:
44
pull_request:
@@ -11,7 +11,7 @@ on:
1111

1212
defaults:
1313
run:
14-
working-directory: ascon-hash
14+
working-directory: ascon-hash256
1515

1616
env:
1717
RUSTFLAGS: "-Dwarnings"
@@ -26,7 +26,7 @@ jobs:
2626
set-msrv:
2727
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
2828
with:
29-
msrv: 1.85.0
29+
msrv: 1.85.0
3030

3131
build:
3232
needs: set-msrv
@@ -52,7 +52,7 @@ jobs:
5252
minimal-versions:
5353
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
5454
with:
55-
working-directory: ${{ github.workflow }}
55+
working-directory: ${{ github.workflow }}
5656

5757
test:
5858
needs: set-msrv

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace]
22
resolver = "3"
33
members = [
4-
"ascon-hash",
4+
"ascon-hash256",
55
"bash-hash",
66
"belt-hash",
77
"blake2",

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Additionally all crates do not require the standard library (i.e. `no_std` capab
1313

1414
| Algorithm | Crate | Crates.io | Documentation | MSRV | [Security] |
1515
|-----------|-------|:---------:|:-------------:|:----:|:----------:|
16-
| [Ascon] hash | [`ascon‑hash`] | [![crates.io](https://img.shields.io/crates/v/ascon-hash.svg)](https://crates.io/crates/ascon-hash) | [![Documentation](https://docs.rs/ascon-hash/badge.svg)](https://docs.rs/ascon-hash) | 1.85 | :green_heart: |
16+
| [Ascon] hash | [`ascon‑hash256`] | [![crates.io](https://img.shields.io/crates/v/ascon-hash256.svg)](https://crates.io/crates/ascon-hash256) | [![Documentation](https://docs.rs/ascon-hash256/badge.svg)](https://docs.rs/ascon-hash256) | 1.85 | :green_heart: |
1717
| [Bash] hash | [`bash‑hash`] | [![crates.io](https://img.shields.io/crates/v/bash-hash.svg)](https://crates.io/crates/bash-hash) | [![Documentation](https://docs.rs/bash-hash/badge.svg)](https://docs.rs/bash-hash) | 1.85 | :green_heart: |
1818
| [BelT] hash | [`belt‑hash`] | [![crates.io](https://img.shields.io/crates/v/belt-hash.svg)](https://crates.io/crates/belt-hash) | [![Documentation](https://docs.rs/belt-hash/badge.svg)](https://docs.rs/belt-hash) | 1.85 | :green_heart: |
1919
| [BLAKE2] | [`blake2`] | [![crates.io](https://img.shields.io/crates/v/blake2.svg)](https://crates.io/crates/blake2) | [![Documentation](https://docs.rs/blake2/badge.svg)](https://docs.rs/blake2) | 1.85 | :green_heart: |
@@ -235,7 +235,7 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
235235

236236
[//]: # (crates)
237237

238-
[`ascon‑hash`]: ./ascon-hash
238+
[`ascon‑hash`]: ./ascon-hash256
239239
[`bash‑hash`]: ./bash-hash
240240
[`belt‑hash`]: ./belt-hash
241241
[`blake2`]: ./blake2
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
name = "ascon-hash"
3-
version = "0.3.0-pre"
2+
name = "ascon-hash256"
3+
version = "0.5.0-pre"
44
description = "Implementation of Ascon-Hash256 and Ascon-XOF256"
55
authors = [
66
"Sebastian Ramacher <[email protected]>",
@@ -10,7 +10,7 @@ license = "Apache-2.0 OR MIT"
1010
readme = "README.md"
1111
edition = "2024"
1212
rust-version = "1.85"
13-
documentation = "https://docs.rs/ascon-hash"
13+
documentation = "https://docs.rs/ascon-hash256"
1414
repository = "https://github.com/RustCrypto/hashes"
1515
keywords = ["hash", "ascon"]
1616
categories = ["cryptography", "no-std"]
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
![Rust Version][rustc-image]
88
[![Project Chat][chat-image]][chat-link]
99

10-
Pure Rust implementation of the lightweight cryptographic hash function
11-
[AsconHash256][1] and the extendable output functions (XOF) AsconXOF256.
10+
Pure Rust implementation of the lightweight cryptographic hash function [AsconHash256][1] and the
11+
extendable output functions (XOF) AsconXOF256.
1212

1313
## Security Notes
1414

@@ -19,7 +19,7 @@ USE AT YOUR OWN RISK!
1919
## Examples
2020
Fixed output size hashing:
2121
```rust
22-
use ascon_hash::{AsconHash256, Digest};
22+
use ascon_hash256::{AsconHash256, Digest};
2323
use hex_literal::hex;
2424

2525
let mut hasher = AsconHash256::new();
@@ -35,7 +35,7 @@ assert_eq!(hex_hash, "e909c2f6da9cb3028423265c8f23fc2d26bfc0f3db704683ef16b787a9
3535

3636
XOF hashing:
3737
```rust
38-
use ascon_hash::{AsconXof128, ExtendableOutput, Update, XofReader};
38+
use ascon_hash256::{AsconXof128, ExtendableOutput, Update, XofReader};
3939
use hex_literal::hex;
4040

4141
let mut xof = AsconXof128::default();
@@ -65,16 +65,16 @@ dual licensed as above, without any additional terms or conditions.
6565

6666
[//]: # (badges)
6767

68-
[crate-image]: https://img.shields.io/crates/v/ascon-hash.svg
69-
[crate-link]: https://crates.io/crates/ascon-hash
70-
[docs-image]: https://docs.rs/ascon-hash/badge.svg
71-
[docs-link]: https://docs.rs/ascon-hash/
68+
[crate-image]: https://img.shields.io/crates/v/ascon-hash256.svg
69+
[crate-link]: https://crates.io/crates/ascon-hash256
70+
[docs-image]: https://docs.rs/ascon-hash256/badge.svg
71+
[docs-link]: https://docs.rs/ascon-hash256/
72+
[build-image]: https://github.com/RustCrypto/hashes/actions/workflows/ascon-hash256.yml/badge.svg
73+
[build-link]: https://github.com/RustCrypto/hashes/actions/workflows/ascon-hash256.yml
7274
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
7375
[rustc-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
7476
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
7577
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260041-hashes
76-
[build-image]: https://github.com/RustCrypto/hashes/actions/workflows/ascon-hash.yml/badge.svg?branch=master
77-
[build-link]: https://github.com/RustCrypto/hashes/actions/workflows/ascon-hash.yml?query=branch:master
7878

7979
[//]: # (general links)
8080

0 commit comments

Comments
 (0)