All Projects → ChainSafe → as-sha256

ChainSafe / as-sha256

Licence: other
AssemblyScript implementation of SHA256

Programming Languages

WebAssembly
147 projects
javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to as-sha256

redstone-smartcontracts
An implementation of the Arweave SmartWeave smart contracts protocol.
Stars: ✭ 42 (+180%)
Mutual labels:  wasm, assemblyscript
Assemblyscript
A TypeScript-like language for WebAssembly.
Stars: ✭ 13,152 (+87580%)
Mutual labels:  wasm, assemblyscript
Lucet
Lucet, the Sandboxing WebAssembly Compiler.
Stars: ✭ 4,006 (+26606.67%)
Mutual labels:  wasm, assemblyscript
hash-wasm
Lightning fast hash functions using hand-tuned WebAssembly binaries
Stars: ✭ 382 (+2446.67%)
Mutual labels:  wasm, sha256
Lunatic
Lunatic is an Erlang-inspired runtime for WebAssembly
Stars: ✭ 2,074 (+13726.67%)
Mutual labels:  wasm, assemblyscript
rabin-wasm
Rabin fingerprinting implemented in WASM
Stars: ✭ 26 (+73.33%)
Mutual labels:  wasm, assemblyscript
wasmsign2
PoC implementation of the WebAssembly Modules Signatures proposal.
Stars: ✭ 18 (+20%)
Mutual labels:  wasm
rgeometry
Computational Geometry library written in Rust
Stars: ✭ 77 (+413.33%)
Mutual labels:  wasm
jasper
🧳 Single-binary packaging for Ruby applications that supports native and Wasm targets
Stars: ✭ 29 (+93.33%)
Mutual labels:  wasm
wasm-ops
Chart of WebAssembly Instructions
Stars: ✭ 46 (+206.67%)
Mutual labels:  wasm
jvm
Pure Rust implementation of the JVM 7 specification
Stars: ✭ 27 (+80%)
Mutual labels:  wasm
reqwasm
HTTP requests library for WASM Apps
Stars: ✭ 81 (+440%)
Mutual labels:  wasm
cosmicverge
A systematic, sandbox MMO still in the concept phase. Will be built with Rust atop BonsaiDb and Gooey
Stars: ✭ 18 (+20%)
Mutual labels:  wasm
fullstack-rust
Reference implementation of a full-stack Rust application
Stars: ✭ 39 (+160%)
Mutual labels:  wasm
TypeScriptXX
🧷 Stay safe! Type-safe scripting for C++ using TypeScriptToLua and CMake with auto-generated declarations.
Stars: ✭ 33 (+120%)
Mutual labels:  wasm
gohooks
GoHooks make it easy to send and consume secured web-hooks from a Go application
Stars: ✭ 16 (+6.67%)
Mutual labels:  sha256
wasm2kt
Web Assembly to Kotlin and Java converter. Allows to compile a C or C++ program/library, and generate a Kotlin or Java program/library.
Stars: ✭ 20 (+33.33%)
Mutual labels:  wasm
wasm-linker-js
A simple WebAssembly Linker in JavaScript
Stars: ✭ 14 (-6.67%)
Mutual labels:  wasm
imgalign
Webapplication for image stitching and aligning
Stars: ✭ 162 (+980%)
Mutual labels:  wasm
wazm
Web Assembly Zig Machine
Stars: ✭ 54 (+260%)
Mutual labels:  wasm

This package is now maintained at https://github.com/ChainSafe/ssz/tree/master/packages/as-sha256

as-sha256

ES Version Node Version

AssemblyScript implementation of SHA256.

Usage

yarn add @chainsafe/as-sha256

import SHA256 from "@chainsafe/as-sha256";

let hash: Uint8Array;

// create a new sha256 context
const sha256 = new SHA256();
// with init(), update(data), and final()
hash = sha256.init().update(Buffer.from("Hello world")).final();

// or use a one-pass interface
hash = SHA256.digest(Buffer.from("Hello world"));

// or use a faster one-pass interface for hashing (only) 64 bytes
hash = SHA256.digest64(Buffer.from("abcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefghabcdefgh"));

License

Apache 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].