News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Donkey´s AES encryption algorithm (Rijndael)

Started by ragdog, February 15, 2014, 11:17:46 PM

Previous topic - Next topic

ragdog

Hi

I found on Donkey´s site a lib for AES encryption algorithm (Rijndael)
Can any post a example ho i can use it for a text encryption?

http://www.donkeysstable.com/


And ehy gives not any examples about Rijndael (AES) is this to buggy?

Greets,

dedndave

call Rijndael_Init
invoke Rijndael_SetEncryptKey,offset szKey
invoke Rijndael_Encrypt,offset EncOutBuffer,offset TestText

invoke Rijndael_SetDecryptKey,offset szKey
invoke Rijndael_Decrypt,offset TxtOutBuffer,offset EncOutBuffer

invoke ExitProcess,0

MichaelW

The attachment contains a MASM version of the source, along with some minimal test code using one of the test vectors from a link on the Wikipedia page (see CBCKeySbox256.rsp). I intended to do a more thorough test against the Windows cryptographic service provider, but I did not have time to do so.

Well Microsoft, here's another nice mess you've gotten us into.


Gunther

Michael,

thank you for the source. Interesting use of XLAT.  :t

Gunther
You have to know the facts before you can distort them.

ragdog

I have try to find an example about AES with Windows crypto API
But Without good results.

And this from Donkey´s Goasm source is original written  from WiteG