EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Encryption Algorithm Performance

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
Posted: 02/28/2011 16:18:31
by Eric Lenington (Standard support level)
Joined: 12/06/2010
Posts: 37

Has there been anything written, even in basic form, that would show the relative performance/speed of the various encryption algorithms (specifically, as available in the ElDefaultDataStorageSecurityHandler)?
Posted: 02/28/2011 17:42:24
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

According to our recent testings, the algorithms can be sorted in the following order from the fastest down to the slowest (please note that the below values only take place for VCL edition and have no relation to .NET edition):

- RC4 (1.42),
- AES128 (1.00),
- AES192 (0.72),
- AES256 (0.63),
- Blowfish (0.3),
- Twofish128 (0.27),
- Twofish256 (0.27),
- CAST5 (0.26),
- DES (0.24),
- 3DES (0.13).

The values in the parenthesis show the relative speed of a cipher comparing to the speed of AES128 cipher.
Posted: 02/28/2011 20:17:46
by Eric Lenington (Standard support level)
Joined: 12/06/2010
Posts: 37

Perfect--exactly what I was looking for. By the way, are there any plans for implementing any "very fast" algorithms like Rabbit?
Posted: 02/28/2011 20:39:48
by Ken Ivanov (EldoS Corp.)

Actually, we do have Rabbit implemented, however, it exposes the speed of around 0.2-0.3 comparing to AES128 (unfortunately, I have no exact results by hand). Please consider using RC4, which provides quite good speed characteristics (around 80 MB/sec on 2GHz system).
Posted: 02/28/2011 21:03:04
by Eric Lenington (Standard support level)
Joined: 12/06/2010
Posts: 37

That's surprising about Rabbit--it's supposed to be known for speed!

I'm a little uncomfortable about RC4, due to its "bad reputation" for biases (I realize it's still a good algorithm, but it makes people raise their eyebrows). Do you support RC4-Drop or any of the RC4 "fixes"?
Posted: 03/01/2011 14:02:51
by Ken Ivanov (EldoS Corp.)

You are generally right about Rabbit. However, this algorithm incorporates a big amount of operations on 64 bit integers, and unfortunately they are not that time-efficient with Delphi.

Yes, we do support RC4 drop mode on cryptographic layer, but the corresponding setting is not accessible through the data storage components. We'll add an option to allow the component's user switch it on if needed.
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.



Topic viewed 1411 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!