Skip to content

Incorporate suite of hash utilities into node #2444

@JavaScriptDude

Description

@JavaScriptDude

Following the lead from this closed node.js request here and here, can we please look at the opportunity of adding support for non-crystallographic hash functions into the node core.

There are many usecases where hash functions (CRC or checksums) can be useful for non-crystallographic purposes and adding this will go a long way to extend the use of node.js as a general purpose desktop and server application development language.

To shorten the development effort, it may be best to include an existing cross platform, C or C++ based library that has an appropriate license which contains a wide range of hash functions. To this end, I have done some digging and found that one good candidate is the RHash Project. RHash appears to be small, popular, cross platform, and based on the MIT license. All of this may make RHash a good candidate for the backbone of a checksum library for node.

Regarding where to house checksum libraries, It can either be put under crypto, although this will likely raise some passionate discussion. Another suggestion is to create a new library called hash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions