Skip to content

Uploading file max_min.py#12

Open
siddsriv wants to merge 1 commit into
ACM-UoA-Student-Chapter:masterfrom
siddsriv:max_min.py
Open

Uploading file max_min.py#12
siddsriv wants to merge 1 commit into
ACM-UoA-Student-Chapter:masterfrom
siddsriv:max_min.py

Conversation

@siddsriv

Copy link
Copy Markdown
Member

No description provided.

@siddsriv

Copy link
Copy Markdown
Member Author

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

@kkech kkech left a comment

Copy link
Copy Markdown
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants