-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
325e6b4
commit 38bd7fd
Showing
10 changed files
with
51 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from damgard_jurik.crypto import EncryptedNumber, PrivateKeyRing, PrivateKeyShare, PublicKey, keygen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
damgard_jurik/damgard_jurik/shamir.py → damgard_jurik/shamir.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/env python3 | ||
""" | ||
setup.py | ||
Boucher, Govedič, Saowakon, Swanson 2019 | ||
Setup script for installation. | ||
""" | ||
import setuptools | ||
|
||
|
||
with open('README.md') as f: | ||
long_description = f.read() | ||
|
||
|
||
setuptools.setup( | ||
name='damgard-jurik', | ||
version='0.0.2', | ||
author='Nicholas Boucher, Luka Govedič, Pasapol Saowakon, Kyle Swanson', | ||
author_email='[email protected]', | ||
description='Homomorphic encryption using the threshold variant of the Damgard-Jurik cryptosystem.', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/cryptovoting/damgard-jurik', | ||
packages=setuptools.find_packages(), | ||
install_requires=[ | ||
'gmpy2' | ||
], | ||
classifiers=[ | ||
'Programming Language :: Python :: 3', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters