Possible symmetric cipher enhancements
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- cryptography
Hướng nghiên cứu
This is a menu of possible cipher enhancements rather than one scoped task: CFB1, OFB, non-96-bit GCM IVs, short GCM tags, alternative CCM formatting, and GMAC/CMAC. A newcomer should first pick one unchecked item, such as OFB, then read the existing Cfb, Cfb8, and CTR implementations and their tests to see how stream-cipher traits are wired. Done means that one mode implements the relevant traits and passes test vectors from SP 800-38A; AES-XTS is already checked off.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Possible additional modes or features for symmetric ciphers:
- CFB1, the s = 1 segment size (SP 800-38A Appendix F.3.1-F.3.6). Its segment is a single bit, so unlike [Cfb] and [Cfb8] it does not fit a byte-oriented API at all: a message is a bit string whose length need not be a multiple of 8, which this crate has no type for.
- OFB, the one remaining mode of SP 800-38A. It is a keystream mode and, like CFB, CFB8 and CTR, would implement [StreamCipherEncryptor] / [StreamCipherDecryptor].
- AES-XTS: https://csrc.nist.gov/pubs/sp/800/38/e/final used primarily in full-disk-encryption systems.
- GCM with a nonce other than 96 bits (SP 800-38D Algorithm 4 step 2's len(IV) != 96 branch, which derives J0 by GHASHing the IV). Sec 5.2.1.1 recommends restricting support to 96 bits, and [Gcm] does.
- GCM with a 32- or 64-bit tag (Sec 5.2.1.2, Appendix C). Those need the controlling protocol to bound packet sizes and invocation counts, which this crate cannot enforce.
- CCM with a formatting function other than Appendix A's. SP 800-38C Sec 5.4 allows alternatives and says "Alternative formatting functions may be developed in the future"; Appendix A's is the only one that exists in practice and the only one [CcmPacket] implements.
- Add GMAC and CMAC as top-level [`MAC']'s -- note that these behave differently to generic [MAC]s since they require both a key and a (non-zero) IV. Perhaps we could fake that by having the "key" hold both the actual key and the IV?
- Ngôn ngữ chính
- Rust
- Star
- 25
- Fork
- 18
- Merge trung bình
- 56 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bcgit/bc-rust
-
Improve docs in FactoriesCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởdocumentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
bcgit/bc-rust#161 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Implement AES-XTS.Có thể đã có người làm @officialfrancismendoza đã nhận 3 ngày trước. Đang mở
bcgit/bc-rust#184 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của bcgit/bc-rust
Issue tương tự
-
bug priority: low ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
storytold/photocraft#10370 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:doc bug in progress needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
bherbruck/solvecraft#9634 · 2 bình luận · 1 reaction ·
-
inflate: total_in uses plain += on c_ulong (32-bit on Windows), panics in debug for streams > 4 GiBĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
trifectatechfoundation/zlib-rs#570 · 1 bình luận ·
-
bug discord-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
LanternOps/breeze#10755 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
aranya-project/aranya#803 ·