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
At the type system, support modes requiring only an block encryption function (as opposed to both encryption and decryption)
bring back separate types for encryptors and decryptors
splitting the trait into two parts: core which works only on blocks (and thus padding-independent) and a buffered wrapper on top of it which would work with slices and will be generic over padding.
The text was updated successfully, but these errors were encountered:
OFB should be a stream cipher abstraction (like CTR)
CFB should support a more streaming-like byte-based API (padding is not necessary for decrypting ciphertext of non-block-size-divisible length, and you don't need to encrypt the next block until you have the entire block)
Edit: actually I see these are implemented separately in the stream-ciphers repo 🤦
(from RustCrypto/block-ciphers#227 (comment))
The text was updated successfully, but these errors were encountered: