block-ciphers icon indicating copy to clipboard operation
block-ciphers copied to clipboard

Collection of block cipher algorithms written in pure Rust

Results 30 block-ciphers issues
Sort by recently updated
recently updated
newest added

GOST 28147-89 and GOST R 34.12-2015 ended up using different subkeys schedule during encryption. For the non-formal description [see the RFC](https://datatracker.ietf.org/doc/html/rfc8891#appendix-B). Please provide a way to support both of them....

help wanted

Bumps [zeroize](https://github.com/RustCrypto/utils) from 1.5.6 to 1.5.7. Commits f4baab7 zeroize v1.5.7 (#782) f096d5f feat: add serde support (#780) See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zeroize&package-manager=cargo&previous-version=1.5.6&new-version=1.5.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any...

dependencies

This impls `ParBlocksSizeUser` for AES and Kuznyechik block ciphers. `ParBlocksSizeUser` was already impl'd for their backends, so this was a matter of copy-pasting. This unblocks the fix for https://github.com/RustCrypto/AEADs/issues/410

Based on https://eprint.iacr.org/2013/404.pdf Using testvectors from Appendix C of the aforementioned paper. Notes: * I implemented this based on the cipher v0.4 branch, so this should only be merged after...

See `vsm4*` intrinsics gated on `neon` and `sm4` target features.

help wanted
performance

List of "would be nice to have" block ciphers: - [x] ARIA (#340) - [x] Camellia (#293) - [x] CAST5 (#36) - [x] CAST6 (#384) - [x] DES (#2) -...

help wanted

In the current fixslice implementation there is some redundancy in the way keys are stored (2x for fixslice32, 4x for fixslice64). This enables the round keys to simply be XORed...

aes

Right now we have to define an empty enum and implement for it the `Sbox` trait, which contains S-box value. It would be nice to replace it with `struct Gost89...

#39 has added BlowfishLE variant, it's possible to generate tests, but I would like to use data from a real application to be sure. @fzzr- Can you convert your [tests](https://github.com/fzzr-/blowfish-compat.rs/tree/master/tests)...