Skip to content
Discussion options

You must be logged in to vote

Why the OFB and CTS cipher modes are not implemented in AES, DES and TripleDES (.NET 7)?

.NET's stance on cryptography is that cryptographic primitives like AES, 3DES, etc; and modes of symmetric algorithms like CBC, GCM, or CFB need to be provided by the platform. We don't implement the actual cryptography ourselves.

Currently, only OpenSSL and Android supports CTS and OFB, which means only we can only implement those modes on those platforms. Windows nor macOS/iOS support these modes. Ideally, implementing a new primitive or mode would be supported by all platforms. However, we sometimes implement new primitives when at least two of OpenSSL, macOS, and Windows support it. Of those thr…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bartonjs
Comment options

Answer selected by xairaven
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants