SynCrypto is a open source library for data encryption included in this pack.
In this unit (SynCrypto.pas) is the following comment at the begining of file:
AES128 cypher 84 MB/s uncypher 81 MB/s asm version
AES128 cypher 57 MB/s uncypher 57 MB/s pascal version
AES192 cypher 72 MB/s uncypher 70 MB/s asm version
AES192 cypher 48 MB/s uncypher 48 MB/s pascal version
AES256 cypher 62 MB/s uncypher 61 MB/s asm version
AES256 cypher 42 MB/s uncypher 42 MB/s pascal version
From this I understand that are two versions of code: pascal-slower and asm-faster. But the problem is, how can I select between these two ?
Edit: And a secondary question, if you allow me: how cand I select the bitwidth of the key: 128, 192 and 256 ?
I use this code to encrypt and decrypt:
outp := TAESCFB.SimpleEncrypt(inp,'privatekey',true,true);
inp := TAESCFB.SimpleEncrypt(outp,'privatekey',false,true);
... and Delphi 2009.