Ray Kelly
2013-01-18 14:00:07 UTC
I am decrypting a CFB8/No Padding Stream. BouncyCastle is about 80% slower that the native decryption (I cant use native Rijndael in my project for various reasons). I ran a test decrypting 30k bytes in a single ProcessBytes call. I compared the native Rijndael(TransformBlock) to the AesFastEngine and BouncyCastle Rijndael. Here are the results:
Native Rijndael: 21ms
AesFastEngine: 34ms
BC Rijndael: 288ms
Native Rijndael: 19ms
AesFastEngine: 31ms
BC Rijndael: 288ms
Native Rijndael: 19ms
AesFastEngine: 31ms
BC Rijndael: 287ms
Is there another engine I should use or something I am doing wrong? Thanks for your help,
Ray
Native Rijndael: 21ms
AesFastEngine: 34ms
BC Rijndael: 288ms
Native Rijndael: 19ms
AesFastEngine: 31ms
BC Rijndael: 288ms
Native Rijndael: 19ms
AesFastEngine: 31ms
BC Rijndael: 287ms
Is there another engine I should use or something I am doing wrong? Thanks for your help,
Ray