AES-256-NI encryption/decryption using c# / .NET

S

sachy

Hi All,

I know of basic AES-256 encryption /decryption in C# using RijndaelManaged class API's etc. But i have to now make use of AES256-NI for encryption / decryption purpose as i was told it is faster. But i am not able to find much details about its implementation etc in .NET / C# , in terms of any new cryptography class/api's to be used etc..

Can anybody kindly explain me what's new in AES256-NI algorithm compared toexisting AES-256 and also a code sample or reference to new API's of >NET that i have to make use would be of great help...

Thanks,
Sachin
 
A

Arne Vajhøj

I know of basic AES-256 encryption /decryption in C# using
RijndaelManaged class API's etc. But i have to now make use of
AES256-NI for encryption / decryption purpose as i was told it is
faster. But i am not able to find much details about its
implementation etc in .NET / C# , in terms of any new cryptography
class/api's to be used etc..

Can anybody kindly explain me what's new in AES256-NI algorithm
compared to existing AES-256 and also a code sample or reference to
new API's of >NET that i have to make use would be of great help...

To my best knowledge (but I am not an expert in cryptography) then
AES-NI is not a new algorithm, but some new instructions in
newer x86-64 CPU's that support AES and increase speed by using
hardware instead of software for operations.

See:
http://en.wikipedia.org/wiki/AES_instruction_set

I am not aware of a CLR library, but CAPI supposedly
it support on Windows 7 and later (CNG), so you should be
able to do something by calling native code.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top