changeset 1488:cfcfb46f9450

BeDOZa: Added documentation of dummy implementation.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Mon, 12 Jul 2010 11:34:44 +0200
parents c6f29ad5c91e
children f3c3dba59fd8
files viff/bedoza.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/viff/bedoza.py	Mon Jul 12 11:33:09 2010 +0200
+++ b/viff/bedoza.py	Mon Jul 12 11:34:44 2010 +0200
@@ -114,7 +114,8 @@
         return str(self)
     
 class RandomShareGenerator:
-
+    """ TODO: This is a dummy implementation, and should be replaced with proper code."""
+    
     def generate_random_shares(self, field, number_of_shares):
         self.init_keys(field)
         shares = []
@@ -500,6 +501,7 @@
         return (zi, zks, zms)
 
     def _get_triple(self, field):
+        """ TODO: This is a dummy implementation, and should be replaced with proper code."""
         self.init_keys(field)
         a, b, c = 0, 0, 0
         share_a = field(2)