Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Uploading file max_min.py #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

siddsriv
Copy link
Member

No description provided.

@siddsriv
Copy link
Member Author

Hi, did this on behalf of UoA ACM Student Chapter! Issues #6 and #7 resolved.

Copy link
Collaborator

@kkech kkech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good try @srivastava41099 , but we want to extend the operation of our DB in an encrypted distributed database. So, we want to do this:

db = EncryptedDB(bob, alice, secure_worker, max_val_len=256)
db.add_entry("Bob","10")
db.add_entry("Bill", "20")
db.add_entry("Sam","15")
print(db.max())
// 20
print(db.min())
// 10
So you have to extend the definition of class EncryptedDB() with two new functions, that works distributed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants