sha-256-js
sunhacks-2020-webdev1
sha-256-js | sunhacks-2020-webdev1 | |
---|---|---|
2 | 1 | |
1 | 0 | |
- | - | |
0.0 | 0.0 | |
over 6 years ago | over 3 years ago | |
JavaScript | JavaScript | |
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.
sunhacks-2020-webdev1
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.
md5-js - md5 in JavaScript
user-management - Full stack CRUD app made with Express, React and TypeScript.
database - SQL-like JSON Database
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.
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.
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
cron - A NodeJS wrapper around setInterval for expressive cron like repetitive tasks.