google / google/mundane

Add block ciphers

Open
#5 3 comments 0 reactions 0 assignees View on GitHub
experience-hard
Dominant language
Rust
Stars
1.1k
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Open questions:
- Presumably individual block operations should be behind a feature flag since they're low level, but we still want to be able to expose high-level cipher modes (e.g., AES-GCM) via composition. How do we do that?
- What block cipher modes do we have to support?
- Do we want to build in padding?
- Do we want to expose a non-padding variant as well?
- How do we ensure that padding is only with safe block cipher modes (e.g., don't allow PKCS11 padding w/ CBC, which is vulnerable to a padding oracle attack)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.