Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Implement oblivious index operation #284

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

Commits on Jul 15, 2022

  1. Implement oblivious index operation

    Summary:
    This is needed for the concat function in AsciiString when accessing a character in the AsciiString while the index is secret.
    
    Overloaded the [ ] operator so the index could be a secret Int object. Iterate through the AsciiString and assign the return value to be the current character if we are at the secret index. Return a signed secret Int object.
    
    Differential Revision: D37892641
    
    fbshipit-source-id: 128c531dccd6da5f6df824770da42994158bff01
    Aining Liu authored and facebook-github-bot committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    ea5a698 View commit details
    Browse the repository at this point in the history