On Wed, 16 May 2007, Gael Colin wrote:
> hello,
>
> I'm in a preparation school. And I did a work about ciphering algorithm
> comparaisons.
> I found Blowfish is slower than AES... maybe something wrong.
No. That should be right.
Depending on the mode being used (and of course the way you've coded them
up) AES should be faster than blowfish. Especially if you're testing by
encrypting a lot of short messages with a lot of different keys.
Blowfish's key setup takes a very long time.
> Why caml use integer of 31 bits instead of 32 bits integer?
> Perhaps it's the raison of my strange mesures.
They use it for garbage collection, so that integers can be easily told
apart from pointers. And, yes, if you are doing a lot of work with the
Int32 type, you will lose some speed due to the boxed nature of that type.
William D. Neumann
---
"There's just so many extra children, we could just feed the
children to these tigers. We don't need them, we're not doing
anything with them.
Tigers are noble and sleek; children are loud and messy."
-- Neko Case
Life is unfair. Kill yourself or get over it.
-- Black Box Recorder
.