Skip to content

Make HashIntoZn a proper full-domain hash #118

Description

@JanBobolz

Currently, HashIntoZn can never hit n-1 (or other large values).
HashThenPrfToZn does a much better job at being statistically close to what we'd expect from a random oracle hash into Zn.

Activity

  1. JanBobolz commented on Jun 23, 2021

    @JanBobolz
    MemberAuthor

    Also, include n into the hash so that we have some sort of domain separation.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions