Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
bcgit
/
bc-rust
Public mirror
mirrored from
https://www.bouncycastle.org/repositories/bc-rust
Notifications
You must be signed in to change notification settings
Fork
17
Star
24
Code
Issues
31
Pull requests
15
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Part Nirvana: Grand unification of stream and block encryptors under SymmetricCipherEncryptor/Decryptor, AES clean up
- #115
#115
Closed
dghgit
wants to merge 15 commits into
feature/stream-cipher
bcgit/bc-rust:feature/stream-cipher
from
feature/symmetric-cipher
bcgit/bc-rust:feature/symmetric-cipher
Copy head branch name to clipboard
Conversation
Commits
15
(15)
Checks
Files changed
Closed
Part Nirvana: Grand unification of stream and block encryptors under SymmetricCipherEncryptor/Decryptor, AES clean up
#115
dghgit
wants to merge 15 commits into
feature/stream-cipher
bcgit/bc-rust:feature/stream-cipher
from
feature/symmetric-cipher
bcgit/bc-rust:feature/symmetric-cipher
Copy head branch name to clipboard
Commits
Commits on Sep 9, 2026
aes-lowmemory: the AES_CBC_* and AES_ECB_* aliases take a padding scheme as well as a direction, via a PaddedMode projection, so the two block modes name their padding in the type
dghgit
committed
0b06214
View commit details
Copy full SHA for 0b06214
Browse repository at this point
core: stream ciphers also implement SymmetricCipherEncryptor / SymmetricCipherDecryptor with FINAL_LEN = 0, by blanket impls over the in-place methods, so any of the five modes can be held through …
Show description for 5e43a9d
dghgit
committed
5e43a9d
View commit details
Copy full SHA for 5e43a9d
Browse repository at this point
core: delete the SymmetricCipher trait and move its four one-shots onto AEADCipher, its only remaining user; the framework suite follows, and both AEAD security-strength loops gain the key-length g…
Show description for fe5c291
dghgit
committed
fe5c291
View commit details
Copy full SHA for fe5c291
Browse repository at this point
aes: rename bouncycastle-aes-lowmemory to bouncycastle-aes
dghgit
committed
0986629
View commit details
Copy full SHA for 0986629
Browse repository at this point
aes: drop Block, PaddedMode and the AesParams types from the public API
dghgit
committed
fed518b
View commit details
Copy full SHA for fed518b
Browse repository at this point
aes: the ElectronicCodeBook trait is the only public route to the permutation
dghgit
committed
8f932ca
View commit details
Copy full SHA for 8f932ca
Browse repository at this point
aes: the permutation types keep the spec's capitalisation, AES / AES_128 / AES_192 / AES_256, AESParams and Rcon, and the sealing supertrait becomes AESParamsInternalTrait after the mlkem pattern (…
Show description for 41ce203
dghgit
committed
41ce203
View commit details
Copy full SHA for 41ce203
Browse repository at this point
core: ElectronicCodeBook's pair methods are encrypt_2blocks / decrypt_2blocks (were *_blocks2), the reading Mike Ounsworth gave them in 736b0ac; modes, aes, the framework suite, benches and notes f…
Show description for d98f703
dghgit
committed
d98f703
View commit details
Copy full SHA for d98f703
Browse repository at this point
aes: cipher2 / inv_cipher2 after FIPS 197's CIPHER() and INVCIPHER(), a debug self-check that sub_word's eight broadcast planes agree, in-place benches with decrypt paths for every key length and k…
Show description for 2845101
dghgit
committed
2845101
View commit details
Copy full SHA for 2845101
Browse repository at this point
core: ElectronicCodeBook's eight-block methods are encrypt_8blocks / decrypt_8blocks (were *_blocks8), so they read like the pair methods; modes, the framework suite, benches and notes follow
dghgit
committed
69cfe5b
View commit details
Copy full SHA for 69cfe5b
Browse repository at this point
core: ElectronicCodeBook batches four blocks, encrypt_4blocks / decrypt_4blocks (was eight): AES fills a pair and the u16/u32-plane engines fill four, so eight was two passes for every engine and l…
Show description for ab7b948
dghgit
committed
ab7b948
View commit details
Copy full SHA for ab7b948
Browse repository at this point
release notes: the block-cipher trait section names the four-block methods by their current name
dghgit
committed
c534f3b
View commit details
Copy full SHA for c534f3b
Browse repository at this point
core: SymmetricCipherEncryptor / SymmetricCipherDecryptor are SimpleCipherEncryptor / SimpleCipherDecryptor; the framework suite becomes TestFrameworkSimpleCipher and the modes API test file is ren…
Show description for 16552e9
dghgit
committed
16552e9
View commit details
Copy full SHA for 16552e9
Browse repository at this point
gitignore: ignore editor swap and backup files, and drop the .fred.swp Vim swap file that d98f703 swept in
dghgit
committed
4c7eec7
View commit details
Copy full SHA for 4c7eec7
Browse repository at this point
Commits on Sep 13, 2026
Merge feature/stream-cipher: the HMAC and HKDF rework reaches this branch, taking the shortened release notes from b282942 over the long form this branch still carried and accepting 5825050's delet…
Show description for 3b8da02
dghgit
committed
3b8da02
View commit details
Copy full SHA for 3b8da02
Browse repository at this point
You can’t perform that action at this time.