sha-256-js
blink
sha-256-js | blink | |
---|---|---|
2 | 4 | |
1 | 258 | |
- | - | |
0.0 | 4.5 | |
over 6 years ago | 15 days ago | |
JavaScript | JavaScript | |
MIT License | GNU Affero General Public License v3.0 |
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.
blink
-
I made yet another self-hosted URL shortener! [Blink] [no but really, there's reasons for there to be yet another URL shortener, hear me out]
for what it’s worth, I already have a working compose example with the db’s: https://github.com/JaneJeon/blink/blob/master/docker-compose.yml
-
What is the selfhosted project you're most proud of?
Something I created myself - https://github.com/JaneJeon/blink
-
Anyone who would be willing to show their sample repos?
Here’s a fullstack repo featuring best practices I’ve been honing for the past few years (especially in regards to isomorphism): https://github.com/JaneJeon/blink
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.
YOURLS - 🔗 The de facto standard self hosted URL shortener in PHP
md5-js - md5 in JavaScript
remote-code-exec - A remote code executor, in other words an online IDE made with Node and Docker
database - SQL-like JSON Database
nest-rest-api - Typescript meets Nest.js.
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.
sunhacks-2020-webdev1 - Web development up and running
react-apollo-graphql - JavaScript meets web. React in tandem with Apollo. Minimal implementation that will help you get started with GraphQL.