Skip to content

hash: should document byte order of Hash.Sum #12350

Description

@dsnet

Using go1.5

The hash/* libraries output a slice with the hash in big endian byte order when the Hash.Sum([]byte) method is called. This is fine, but it should be documented.

This does not apply to crypto hashes since those hashes are long enough (and don't fit in native integer types) that nobody mistakes the byte order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions