问题
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