Skip to content

node:crypto — createHash().update(Buffer) hashes the wrong representation #1354

@proggeramlug

Description

@proggeramlug

Hashing a Buffer input gives a different digest than the equivalent string. The chain extracts the data arg as a string. Repro: node-suite/crypto/hash/buffer-input. Part of #793.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions