Skip to content

Commit 61a9586

Browse files
authored
cipher v0.5.0 (#2281)
### Added - Traits for tweakable block ciphers (#1721) - Methods for writing keystream (#1907) ### Changed - Replaced `generic-array` with `hybrid-array` (#1358) - Rename `BlockCipher*`/`BlockMode*` (#1482) - `BlockEncrypt` => `BlockCipherEncrypt` - `BlockDecrypt` => `BlockCipherDecrypt` - `BlockEncryptMut` => `BlockModeEncrypt` - `BlockDecryptMut` => `BlockModeDecrypt` - Split `BlockBackend` traits into 4 specific traits: (#1636) - `BlockCipherEncBackend` - `BlockCipherDecBackend` - `BlockModeEncBackend` - `BlockModeDecBackend` - Edition changed to 2024 and MSRV bumped to 1.85 (#1759) - Use `block_buffer::ReadBuffer` in `StreamCipherCoreWrapper` (#1959) - Re-export of `crypto-common` moved to `cipher::common` (#2237, #2260) - `crypto-common` dependency bumped to v0.2 (#2276) - `blobby` requirement bumped to v0.4 (#2147) - `inout` dependency bumped to v0.2.2 (#2149) ### Fixed - Bugs in `StreamCipherCoreWrapper` trait implementations (#1421) - Seeking implementation in the stream cipher wrapper (#2052) ### Removed - `std` feature (#1691) - `BlockCipherEncrypt::encrypt_padded*` and `BlockCipherDecrypt::decrypt_padded*` methods. Users of the ECB mode should use the `ecb-mode` crate instead. (#2245) - `AsyncStreamCipher` trait (#2280)
1 parent 789825f commit 61a9586

File tree

4 files changed

+38
-5
lines changed

4 files changed

+38
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cipher/CHANGELOG.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,56 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## 0.5.0 (UNRELEASED)
8+
## 0.5.0 (2026-02-04)
9+
### Added
10+
- Traits for tweakable block ciphers ([#1721])
11+
- Methods for writing keystream ([#1907])
12+
913
### Changed
14+
- Replaced `generic-array` with `hybrid-array` ([#1358])
15+
- Rename `BlockCipher*`/`BlockMode*` ([#1482])
16+
- `BlockEncrypt` => `BlockCipherEncrypt`
17+
- `BlockDecrypt` => `BlockCipherDecrypt`
18+
- `BlockEncryptMut` => `BlockModeEncrypt`
19+
- `BlockDecryptMut` => `BlockModeDecrypt`
20+
- Split `BlockBackend` traits into 4 specific traits: ([#1636])
21+
- `BlockCipherEncBackend`
22+
- `BlockCipherDecBackend`
23+
- `BlockModeEncBackend`
24+
- `BlockModeDecBackend`
1025
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1759])
11-
- Re-export of `crypto-common` moved to `cipher::common` ([#2237])
26+
- Use `block_buffer::ReadBuffer` in `StreamCipherCoreWrapper` ([#1959])
27+
- Re-export of `crypto-common` moved to `cipher::common` ([#2237], [#2260])
28+
- `crypto-common` dependency bumped to v0.2 ([#2276])
29+
- `blobby` requirement bumped to v0.4 ([#2147])
30+
- `inout` dependency bumped to v0.2.2 ([#2149])
1231

1332
### Fixed
33+
- Bugs in `StreamCipherCoreWrapper` trait implementations ([#1421])
1434
- Seeking implementation in the stream cipher wrapper ([#2052])
1535

1636
### Removed
37+
- `std` feature ([#1691])
1738
- `BlockCipherEncrypt::encrypt_padded*` and `BlockCipherDecrypt::decrypt_padded*` methods.
1839
Users of the ECB mode should use the `ecb-mode` crate instead. ([#2245])
1940
- `AsyncStreamCipher` trait ([#2280])
2041

42+
[#1358]: https://github.com/RustCrypto/traits/pull/1358
43+
[#1421]: https://github.com/RustCrypto/traits/pull/1421
44+
[#1482]: https://github.com/RustCrypto/traits/pull/1482
45+
[#1636]: https://github.com/RustCrypto/traits/pull/1636
46+
[#1691]: https://github.com/RustCrypto/traits/pull/1691
47+
[#1721]: https://github.com/RustCrypto/traits/pull/1721
2148
[#1759]: https://github.com/RustCrypto/traits/pull/1759
49+
[#1907]: https://github.com/RustCrypto/traits/pull/1907
50+
[#1959]: https://github.com/RustCrypto/traits/pull/1959
2251
[#2052]: https://github.com/RustCrypto/traits/pull/2052
52+
[#2147]: https://github.com/RustCrypto/traits/pull/2147
53+
[#2149]: https://github.com/RustCrypto/traits/pull/2149
2354
[#2237]: https://github.com/RustCrypto/traits/pull/2237
2455
[#2245]: https://github.com/RustCrypto/traits/pull/2245
56+
[#2260]: https://github.com/RustCrypto/traits/pull/2260
57+
[#2276]: https://github.com/RustCrypto/traits/pull/2276
2558
[#2280]: https://github.com/RustCrypto/traits/pull/2280
2659

2760
## 0.4.4 (2022-03-09)

cipher/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cipher"
3-
version = "0.5.0-rc.8"
3+
version = "0.5.0"
44
authors = ["RustCrypto Developers"]
55
edition = "2024"
66
rust-version = "1.85"

crypto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ common = { version = "0.2", package = "crypto-common", path = "../crypto-common"
1717

1818
# optional dependencies
1919
aead = { version = "0.6.0-rc.5", path = "../aead", optional = true }
20-
cipher = { version = "0.5.0-rc.3", path = "../cipher", optional = true }
20+
cipher = { version = "0.5", path = "../cipher", optional = true }
2121
digest = { version = "0.11.0-rc.5", path = "../digest", optional = true, features = ["mac"] }
2222
elliptic-curve = { version = "0.14.0-rc.17", path = "../elliptic-curve", optional = true }
2323
password-hash = { version = "0.6.0-rc.6", path = "../password-hash", optional = true }

0 commit comments

Comments
 (0)