Anyone with a C#, Delphi or FreePascal implementation of the PRESENT Ultra-Lightweight Block Cipher encryption?
Posted by jpluimers on 2012/03/06
A short while ago a paper got published on PRESENT: An Ultra-Lightweight Block Cipher by Andrey Bogdanov et al becoming ISO standard 29192-2:2012.
Is there anyone that has a C#, Delphi or FreePascal implementation with unit tests?
–jeroen






Anyone with a C#, Delphi or FreePascal implementation of the PRESENT Ultra-Lightweight Block Cipher encryption? | Yerena Answers said
[…] was asked here and I'm only perplexing to […]
maxkleiner said
I know a better standard or the real one, it’s AES and fully available for Delphi, we use it in CryptoBox, SecureCenter and many others:
CryptoBox is based on Turbo Power LockBox 3 which is a big Delphi library for cryptography. LockBox
3 is a FOSS Delphi Cryptographic Library, providing efficient private key encryption, public key
encryption and hashing functions. Currently supported in Delphi 7, 2005, 2007, 2009 and 2010. It
provides support for AES, DES, 3DES, Blowfish, Twofish, SHA, MD5, a variety of chaining modes,
RSA digital signature and verifications.
We’re just going to explain AES with the new SHA-512/256 hashes in the following docu.
Click to access maxbox_starter13.pdf
jpluimers said
AES is good, many C#/Delphi/FreePascal… libraries that implement it are good in varying ways.
I already did AES on a few platforms (Delphi, C#, iSeries aka AS/400) so I know what to use to get it right.
But there is no PRESENT implementation in C#, Delphi, or FreePascal. PRESENT is emerging, light weight, and for interfacing to systems that use it, it is important to have a reference implementation in those languages and underlying platforms.
jecevans said
There is a C implementation here that should not be to difficult to port. It leaves out the possibility of a 128 bit key though.
http://cis.sjtu.edu.cn/index.php/Software_Implementation_of_Block_Cipher_PRESENT_for_8-Bit_Platforms
jpluimers said
thanks!
–jeroen
Gustavo Carreno said
Just asked here: http://stackoverflow.com/questions/9584462/anyone-with-a-c-delphi-or-freepascal-implementation-of-the-present-ultra-light
Hope someone answers.
jpluimers said
Good one :)
–jeroen
François said
Added a comment on the comments in SO.
I’m prepared to vote for reopening if it gets closed.
I think having the latest advances in security is important to the Delphi community. There has been too much lagging behind in these areas…
jpluimers said
It got closed. Please help with a reopen vote.
François said
Voted to reopen. Needs 1 more vote…
Gustavo Carreno said
I was glad to help.
I was not counting on some narrow minded peeps on SO. But you guys got over it.
This questions should really be giving Rep to Jeroen. I accepted the answer and voted up. :)
jpluimers said
Thanks. I don’t care much for rep, but I’m glad this algorithm got more attention on SO this way (:
Gustavo Carreno said
Like I said earlier, really glad I could help.