Skip to content

Commit ced6bdf

Browse files
committed
Remove base16ct examples
1 parent 011d83a commit ced6bdf

47 files changed

Lines changed: 0 additions & 148 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

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

ascon-hash256/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ ascon = { version = "0.5.0-rc.0", default-features = false }
2323
spectral = { version = "0.6", default-features = false }
2424
hex = "0.4"
2525
hex-literal = "1"
26-
base16ct = { version = "1", features = ["alloc"] }
2726

2827
[features]
2928
default = ["alloc"]

ascon-hash256/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ hasher.update(b"some bytes");
2727
let hash = hasher.finalize();
2828

2929
assert_eq!(hash, hex!("e909c2f6da9cb3028423265c8f23fc2d26bfc0f3db704683ef16b787a945ed68"));
30-
31-
// Hex-encode hash using https://docs.rs/base16ct
32-
let hex_hash = base16ct::lower::encode_string(&hash);
33-
assert_eq!(hex_hash, "e909c2f6da9cb3028423265c8f23fc2d26bfc0f3db704683ef16b787a945ed68");
3430
```
3531

3632
XOF hashing:

bash-hash/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ bash-f = "0.1"
1919
[dev-dependencies]
2020
digest = { version = "0.11", features = ["dev"] }
2121
hex-literal = "1"
22-
base16ct = { version = "1", features = ["alloc"] }
2322

2423
[features]
2524
default = ["alloc", "oid"]

bash-hash/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ hasher.update(b"hello world");
1919
let hash = hasher.finalize();
2020

2121
assert_eq!(hash, hex!("2FC08EEC942378C0F8A6E5F1890D907B706BE393B0386E20A73D4D17A46BBD10"));
22-
23-
// Hex-encode hash using https://docs.rs/base16ct
24-
let hex_hash = base16ct::upper::encode_string(&hash);
25-
assert_eq!(hex_hash, "2FC08EEC942378C0F8A6E5F1890D907B706BE393B0386E20A73D4D17A46BBD10");
2622
```
2723

2824
See the [`digest`] crate docs for additional examples.

belt-hash/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ belt-block = { version = "0.1.1", default-features = false }
1919
[dev-dependencies]
2020
digest = { version = "0.11", features = ["dev"] }
2121
hex-literal = "1"
22-
base16ct = { version = "1", features = ["alloc"] }
2322

2423
[features]
2524
default = ["alloc", "oid"]

belt-hash/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ hasher.update(b"hello world");
1919
let hash = hasher.finalize();
2020

2121
assert_eq!(hash, hex!("afb175816416fbadad4629ecbd78e1887789881f2d2e5b80c22a746b7ac7ba88"));
22-
23-
// Hex-encode hash using https://docs.rs/base16ct
24-
let hex_hash = base16ct::lower::encode_string(&hash);
25-
assert_eq!(hex_hash, "afb175816416fbadad4629ecbd78e1887789881f2d2e5b80c22a746b7ac7ba88");
2622
```
2723

2824
See the [`digest`] crate docs for additional examples.

blake2/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ digest = { version = "0.11", features = ["mac"] }
1818
[dev-dependencies]
1919
digest = { version = "0.11", features = ["dev"] }
2020
hex-literal = "1"
21-
base16ct = { version = "1", features = ["alloc"] }
2221

2322
[features]
2423
default = ["alloc"]

blake2/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ let mut hasher = Blake2s256::new();
3535
hasher.update(b"hello world");
3636
let hash = hasher.finalize();
3737
assert_eq!(hash, hex!("9aec6806794561107e594b1f6a8a6b0c92a0cba9acf5e5e93cca06f781813b0b"));
38-
39-
// Hex-encode hash using https://docs.rs/base16ct
40-
let hex_hash = base16ct::lower::encode_string(&hash);
41-
assert_eq!(hex_hash, "9aec6806794561107e594b1f6a8a6b0c92a0cba9acf5e5e93cca06f781813b0b");
4238
```
4339

4440
See the [`digest`] crate docs for additional examples.

fsb/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ whirlpool = { version = "0.11.0-rc.3", default-features = false }
1919
[dev-dependencies]
2020
digest = { version = "0.11", features = ["dev"] }
2121
hex-literal = "1"
22-
base16ct = { version = "1", features = ["alloc"] }
2322

2423
[features]
2524
default = ["alloc"]

0 commit comments

Comments
 (0)