Skip to content

Polls #36

Description

@AtHeartEngineer

Ask poll question:

{type: poll,
Question:"question",
Options: [x, y, z],
Encrypt answers?
EncryptionKey: CryptoKey
HashedSecret: some value hashed // hashing is much cheaper than decryption, so to trust if/when the decryption key is valid, they have to prove they know some secret before we try to decrypt using their key. This is mainly to prevent an attacker providing bogus decryption keys.
}

Answer Poll Question:
{Type: poll_response,
Poll:internal nullifier,
Answer: encrypted answer}

Pollster presses "reveal answers to everyone"
Poll decryption key broadcast:
{
Type: poll_key,
Decryption key,
Secret}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions