Search code examples
c#delphiisofreepascalblock-cipher

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


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?

This was asked here and I'm just trying to help.


Solution

  • People at the Shanghai Jiao Tong University implemented an 8-bit version of this algorithm in C.

    Thanks jecevans for commenting this answer on my blog.

    Edit 2: more reference implementations

    The PRESENT (cipher) wikipedia page recently added a link to reference implementations in C and Python that include test vectors usable for unit testing.

    Edit 3 some literature on PRESENT

    Edit 1 (as per request by RBA) the entire response from Jecevans:

    Jecevans said

    2012/03/06 at 16:53 e 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