Present python implementation

From YobiWiki
Jump to navigation Jump to search

This is a development done by Christophe Oosterlynck under my supervision during his thesis work & internship at NXP.

The code is available here


  • calculating round keys
  • encrypting a block
  • decrypting a block
  • supports amount of rounds different from the standard amount of 32
    • tested with 32, 64, 128 and 65534 rounds
    • PRESENT reference implementation supports amount of rounds up to 65534