viff

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 diff
     1.1 --- a/viff/bedoza.py	Mon Jul 05 11:34:00 2010 +0200
     1.2 +++ b/viff/bedoza.py	Mon Jul 05 11:55:20 2010 +0200
     1.3 @@ -128,6 +128,9 @@
     1.4  
     1.5          return self.random_shares.pop()
     1.6  
     1.7 +    def output(self, share, receivers=None):
     1.8 +        return self.open(share, receivers)
     1.9 +
    1.10      def open(self, share, receivers=None):
    1.11          """Share reconstruction.
    1.12