Skip to content

from_be_bytes forces the input array of bytes to be coerced into a strange length by the user. #200

@iAmMichaelConnor

Description

@iAmMichaelConnor
Image

Notice the input x has a complex array length. This means the user needs to design their input array length to be of length (MOD_BITS + 7) / 8.

E.g. in zkpassport code:

Image

Consider whether this is necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions