sha-256-js
md5-js
sha-256-js | md5-js | |
---|---|---|
2 | 1 | |
1 | 0 | |
- | - | |
0.0 | 10.0 | |
over 6 years ago | about 6 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sha-256-js
-
How SHA-256 Works Step-by-Step
The wikipedia article spells it out pretty clearly, and the pseudo-code is easily translated into any language, here it is in JavaScript if anyone is interested:
sha-256: https://github.com/jeffallen6767/sha-256-js/blob/master/src/...
Once you understand the concept that most of these algos are simply dividing the input into computer-friendly sized blocks and then stacking and manipulating these bits in 3d space like a rubics cube, then the whole thing becomes a bit easier to understand.
Here's a few more for comparison:
sha-1: https://github.com/jeffallen6767/sha-1-js/blob/master/src/sh...
md5: https://github.com/jeffallen6767/md5-js/blob/master/src/md5....
keccak: https://github.com/jeffallen6767/keccak-p-js/blob/master/src...
side note, I also ended-up implementing the keccak algo in c for open cl usage, because I wanted to see if I could use it in parallel on my graphics card from nodejs ( spoiler: it's indeed possible ):
https://github.com/jeffallen6767/chain/blob/master/src/minin...
Please forgive my terrible programming style, this was done years ago...
-
Anyone who would be willing to show their sample repos?
Here's my SHA-256 hashing algo implemented in JavaScript for NodeJS.
md5-js
-
How SHA-256 Works Step-by-Step
The wikipedia article spells it out pretty clearly, and the pseudo-code is easily translated into any language, here it is in JavaScript if anyone is interested:
sha-256: https://github.com/jeffallen6767/sha-256-js/blob/master/src/...
Once you understand the concept that most of these algos are simply dividing the input into computer-friendly sized blocks and then stacking and manipulating these bits in 3d space like a rubics cube, then the whole thing becomes a bit easier to understand.
Here's a few more for comparison:
sha-1: https://github.com/jeffallen6767/sha-1-js/blob/master/src/sh...
md5: https://github.com/jeffallen6767/md5-js/blob/master/src/md5....
keccak: https://github.com/jeffallen6767/keccak-p-js/blob/master/src...
side note, I also ended-up implementing the keccak algo in c for open cl usage, because I wanted to see if I could use it in parallel on my graphics card from nodejs ( spoiler: it's indeed possible ):
https://github.com/jeffallen6767/chain/blob/master/src/minin...
Please forgive my terrible programming style, this was done years ago...
What are some alternatives?
fastify-preact-ssr - Fastify server-side renders Preact to html and serves with a Preact client.js bundle for DOM hydration.
keccak-p-js - sha-3 winner Keccak-p implemented in JavaScript
database - SQL-like JSON Database
sha-1-js - sha-1 in JavaScript
redux-react-native-wix-navigation-v2-with-auth - JavaScript meets mobile. Use your favourite JavaScript library to develop Android and IOS applications. This setup includes react-native-navigation for smooth screen transitions.
chain - Node.js Blockchain with multi-core cpu and gpu mining
sunhacks-2020-webdev1 - Web development up and running
nest-rest-api - Typescript meets Nest.js.
FlumeBot - A simple discord bot aimed at small servers, with moderation and fun in mind. No web dashboard, no overdone features.
user-management - Full stack CRUD app made with Express, React and TypeScript.
risingstack-bootcamp - This is the Node.js Bootcamp we ask new recruits at RisingStack to finish in their first weeks. It helps to get the basics right, and prepare you to work on enterprise projects.
pomby