Skip to content

SEC-19 ECDSA recovery id (V) is casted from uint64 to single byte #456

@Gustav-Simonsson

Description

@Gustav-Simonsson

V can be treated as an integer everywhere it is used in the Go code, which avoids possibility of truncation of high bytes when casting from uint64 to (a single) byte.

See YP Appendix F.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions