XTS-AES Mode in C#

橙三吉。 提交于 2019-12-25 02:46:35

问题


Is it possible to use AES in XTC mode in C# (.net 3.5)? It doesn't seem to be in the CipherMode enumeration. I cannot seem to find any implementations of it on the web.

EDIT: Since I couldn't find a .net implementation, I wrote one: https://bitbucket.org/garethl/xtssharp


回答1:


I have since written a C# implementation of XTS mode (using the built in AES cipher in .net), and released it under a BSD license. You can find it here: https://bitbucket.org/garethl/xtssharp




回答2:


Here is the link to a site which gives a C code to download which implements C and XTS. I did not test it. You can wrap C code to C#.



来源:https://stackoverflow.com/questions/1558854/xts-aes-mode-in-c-sharp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!