All Projects → feross → simple-sha256

feross / simple-sha256

Licence: MIT license
Generate SHA-256 hashes (in Node and the Browser)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to simple-sha256

Nsec
A modern and easy-to-use cryptographic library for .NET Core based on libsodium
Stars: ✭ 217 (+416.67%)
Mutual labels:  crypto, hash, sha256
rust-hmac-sha256
A small, self-contained SHA256 and HMAC-SHA256 implementation.
Stars: ✭ 24 (-42.86%)
Mutual labels:  crypto, hash, sha256
Merkle
Node.js module implementing Merkle tree algorithm
Stars: ✭ 123 (+192.86%)
Mutual labels:  crypto, hash, sha256
jscrypto
Crypto library for Node/ES6/Typescript/Browser.
Stars: ✭ 20 (-52.38%)
Mutual labels:  crypto, hash, sha256
Crypto Async
Fast, reliable cipher, hash and hmac methods executed in Node's threadpool for multi-core throughput.
Stars: ✭ 161 (+283.33%)
Mutual labels:  crypto, hash
Libchaos
Advanced library for randomization, hashing and statistical analysis (devoted to chaos machines). 🔬
Stars: ✭ 1,619 (+3754.76%)
Mutual labels:  crypto, hash
Bcrypt
A Java standalone implementation of the bcrypt password hash function. Based on the Blowfish cipher it is the default password hash algorithm for OpenBSD and other systems including some Linux distributions. Includes a CLI Tool.
Stars: ✭ 207 (+392.86%)
Mutual labels:  crypto, hash
SHA256
A C++ SHA256 implementation.
Stars: ✭ 79 (+88.1%)
Mutual labels:  hash, sha256
Crypto Hash
Tiny hashing module that uses the native crypto API in Node.js and the browser
Stars: ✭ 501 (+1092.86%)
Mutual labels:  crypto, sha256
BruteForce
A simple brute forcer written in GO for SHA1, SHA256, SHA512, MD5 and bcrypt
Stars: ✭ 49 (+16.67%)
Mutual labels:  hash, sha256
WebCrypto.swift
A small collection of cryptographic functions based on the JavaScript WebCrypto API.
Stars: ✭ 16 (-61.9%)
Mutual labels:  hash, sha256
hash-checker
Fast and simple application that allows you to generate and compare hashes from files and text
Stars: ✭ 72 (+71.43%)
Mutual labels:  hash, sha256
CryptionTool
一个CTF+渗透测试工具框架,集成常见加解密,密码、编码转换,端口扫描,字符处理等功能
Stars: ✭ 62 (+47.62%)
Mutual labels:  crypto, hash
Siphash Js
A Javascript implementation of SipHash-2-4
Stars: ✭ 90 (+114.29%)
Mutual labels:  crypto, hash
Crypto Es
A cryptography algorithms library
Stars: ✭ 65 (+54.76%)
Mutual labels:  crypto, sha256
fhash
fHash - an open source files hash calculator for Windows and macOS
Stars: ✭ 222 (+428.57%)
Mutual labels:  hash, sha256
go-checksum
Simple tool to calc Golang module checksum of go.mod and module dir.
Stars: ✭ 45 (+7.14%)
Mutual labels:  hash, sha256
Forge
A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps
Stars: ✭ 4,204 (+9909.52%)
Mutual labels:  crypto, sha256
Securitydriven.inferno
✅ .NET crypto done right. Professionally audited.
Stars: ✭ 501 (+1092.86%)
Mutual labels:  crypto, hash
noble-hashes
Audited & minimal JS implementation of SHA2, SHA3, RIPEMD, BLAKE2/3, HMAC, HKDF, PBKDF2 & Scrypt
Stars: ✭ 213 (+407.14%)
Mutual labels:  hash, sha256

simple-sha256 travis npm downloads javascript style guide

Generate SHA-256 hashes (in Node and the Browser)

In Node.js, this package uses crypto.createHash(). In the browser, it uses crypto.subtle.digest().

install

npm install simple-sha256

usage

Async (returns a Promise):

const sha256 = require('simple-sha256')

init()

async function init () {
  const hash = await sha256('hey there')
  console.log(hash)
  // 74ef874a9fa69a86e091ea6dc2668047d7e102d518bebed19f8a3958f664e3da
}

Sync:

const sha256 = require('simple-sha256')
console.log(sha256.sync('hey there'))
// 74ef874a9fa69a86e091ea6dc2668047d7e102d518bebed19f8a3958f664e3da

see also

license

MIT. Copyright (c) Feross Aboukhadijeh.

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].