changeset 1450:d910c8a78a2e

Implemented output.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Mon, 05 Jul 2010 11:55:20 +0200
parents 04a121c3b6a5
children 25c57c4f6947
files viff/bedoza.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/viff/bedoza.py	Mon Jul 05 11:34:00 2010 +0200
+++ b/viff/bedoza.py	Mon Jul 05 11:55:20 2010 +0200
@@ -128,6 +128,9 @@
 
         return self.random_shares.pop()
 
+    def output(self, share, receivers=None):
+        return self.open(share, receivers)
+
     def open(self, share, receivers=None):
         """Share reconstruction.