sha-256-js
risingstack-bootcamp
sha-256-js | risingstack-bootcamp | |
---|---|---|
2 | 1 | |
1 | 701 | |
- | 0.1% | |
0.0 | 0.0 | |
over 6 years ago | almost 6 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.
risingstack-bootcamp
-
Anyone who would be willing to show their sample repos?
I used to be teaching frontend developers on the basics and best practices on Node.js a few years ago. Altough, it's quite dated, most of the patterns are still valid: https://github.com/RisingStack/risingstack-bootcamp On the library selection, for example, I'd choose yup over joi or got over request.
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.
testing-nestjs - A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more!
md5-js - md5 in JavaScript
server - Full-Stack NodeJS Toolkit
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.
backendchallenge
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.