The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Email Subscription

    Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 716 other subscribers

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

13 Responses to “Anyone with a C#, Delphi or FreePascal implementation of the PRESENT Ultra-Lightweight Block Cipher encryption?”

  1. […] was asked here and I'm only perplexing to […]

  2. maxkleiner's avatar

    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.

    http://www.softwareschule.ch/download/maxbox_starter13.pdf

    • jpluimers's avatar

      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.

  3. jecevans's avatar

    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

  4. Just asked here: http://stackoverflow.com/questions/9584462/anyone-with-a-c-delphi-or-freepascal-implementation-of-the-present-ultra-light

    Hope someone answers.

Leave a Comment

 

Discover more from The Wiert Corner - irregular stream of stuff

Subscribe now to keep reading and get access to the full archive.

Continue reading