
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
easy-sha256
Advanced tools
A simple way to use SHA256 in the browser and NodeJS. Built in pure JS without any 3rd party libraries or dependencies.
Browser
<script src="https://cdn.trat.chat/sha256.min.js"></script>
NodeJS
npm i easy-sha256
NodeJS
var Sha256 = require("easy-sha256")
console.log(Sha256.hash("abc")) //Logs "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"
Browser (include the script tag above in your html)
console.log(Sha256.hash("abc")) //Logs "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"
###Advanced Usage
To use sha256 in async mode
Sha256.hash("abc",{async:true}).then(function(hash){
console.log(hash)
})
console.log("hi")
//Logs "hi" First Then "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"
###Author
Ryan Trattner
FAQs
A Simple and Easy way to use SHA256 in the browser or in NodeJS
The npm package easy-sha256 receives a total of 12 weekly downloads. As such, easy-sha256 popularity was classified as not popular.
We found that easy-sha256 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.