Reply to AES Written in PHP?

Your name:

Reply:


Posted by David T. Ashley on 05/16/07 15:50

Is anyone aware of any already-written code I can use that implements
AES-192 in PHP?

BACKGROUND:

I don't have mcrypt compiled into my PHP, and I have an application where I
need to encrypt and decrypt 128 bits (1 block only) using AES-192.

My plan is to implement AES in PHP (directly, as PHP code).

I did a speed test with PHP, and a loop with 10,000 iterations, with each
iteration containing several bitwise manipulations and random number
generations, required 0.11 seconds to complete on my server. I'm sure that
one block of AES is less CPU cycles than that, so the upper limit on the
server time to do one block should be 0.11 seconds of server time. This is
OK for my application.

If somebody has code already, this would be easier ...

Thanks.
--
David T. Ashley (dta@e3ft.com)
http://www.e3ft.com (Consulting Home Page)
http://www.dtashley.com (Personal Home Page)
http://gpl.e3ft.com (GPL Publications and Projects)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация