Download
In this section, you can download the Python source code of the DPA reference
implementation. You can use parts of this code, like the database access or
DES internal data computation, to implement your own algorithm. You can get
this source code either by using subversion or by downloading the snapshot archive.
SVN Repository
The subversion repository is accessible using the username
guest with the password
guest
at the following
URL:
https://svn.comelec.enst.fr/dpacontest/
You can find there:
Concretely speaking,
- you can browse
https://svn.comelec.enst.fr/dpacontest/code/reference/ with your web browser (just click on the link), or
- use a subversion client to fetch recursively all files.
For instance, from a command line client, type:
- svn ls https://svn.comelec.enst.fr/dpacontest/code/reference/ to list the directory's content,
- svn co https://svn.comelec.enst.fr/dpacontest/code/reference/ to check-out the directory's content on your local file system.
-
From a GUI-based client,
such as TortoiseSVN,
proceed as follows:
- Check-out the reference attack code by clicking-right in the Windows Explorer:
- Accept the certificate of the https protocol:
- Authenticate with the username guest and the password guest:
- TortoiseSVN now informs you that the check-out is successful.
You have a working copy of the reference DPA software, you can execute with a python interpreter:
- To update, check-in, etc., using the ad hoc menus that fold while clicking right:
Reference Snapshot
If for some reason you cannot use
SVN,
a zip archive containing the latest snapshot of
the reference implementation can be downloaded here:
dpacontest_reference.zip.