Skip to content

ciptacode/hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@ciptacode/hash

High-performance hashing algorithms for Node.js and Browser, powered by Rust and WebAssembly.

Packages

Package Version Description
@ciptacode/hash 0.1.0 Umbrella package (all algorithms)
@ciptacode/hash-sha256 0.1.0 SHA-256 algorithm
@ciptacode/hash-sha512 0.1.0 SHA-512 algorithm
@ciptacode/hash-sha384 0.1.0 SHA-384 algorithm
@ciptacode/hash-sha1 0.1.0 SHA-1 algorithm
@ciptacode/hash-md5 0.1.0 MD5 algorithm

Architecture

This project is built using a monorepo structure. Each hashing algorithm is implemented in Rust for maximum performance and compiled to WebAssembly (Wasm).

Key features:

  • Fast: Near-native performance using Rust implementations.
  • Universal: Runs in Node.js and modern browsers.
  • Async API: Handles Wasm initialization internally.
  • Polymorphic: Returns hex strings for string inputs and Uint8Array for byte inputs.

Development

make build   # Build all Wasm packages
make test    # Run all unit and integration tests

License

MIT © Fahri Gunadi

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors