changeset 1408:071cc09baa67

aes: More verbose documentation of the module.
author Marcel Keller <mkeller@cs.au.dk>
date Thu, 10 Dec 2009 16:10:04 +0100
parents c2e2cc8d195f
children 9e08c7c3cce9
files viff/aes.py
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/viff/aes.py	Thu Dec 10 15:52:19 2009 +0100
+++ b/viff/aes.py	Thu Dec 10 16:10:04 2009 +0100
@@ -15,7 +15,16 @@
 # You should have received a copy of the GNU Lesser General Public
 # License along with VIFF. If not, see <http://www.gnu.org/licenses/>.
 
-"""MPC implementation of AES (Rijndael)."""
+"""MPC implementation of AES (Rijndael). This module can be used to
+securely compute a secret shared AES encrypted ciphertext of a
+(possibly) secret shared plaintext with a (possibly) secret shared
+key. The inputs have to be given either as a list of shares over GF256
+(byte-wise) or as a string. The runtime has to be able to handle
+shares over GF256. Decryption is not implemented yet.
+
+The implementation is based on the fact that AES has arithmetic
+properties which makes its computation by arithmetic circuits
+relatively fast."""
 
 import time
 import operator