-
Why the OFB and CTS cipher modes are not implemented in @vcsjones @bartonjs Can you please shed some light into this? Thank you very much in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
.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 three, only OpenSSL supports it. If we implemented it today, then Windows, macOS, iOS would all throw
I couldn't say. Maybe @bartonjs or @steveharter remember why we didn't add it to CTS. |
Beta Was this translation helpful? Give feedback.
.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…