5
submitted 9 months ago by sarmale@lemmy.zip to c/technology@beehaw.org

The sha1 hash for 64test64xa is 6779c53432b8badf049bb9d8924a5785dd887243 which is 41 characters only using hexadecimal, 10digits and 6letters. But how long it would be if it was using the whole 26 letters in the latin alphabet? What if it also differentiated between UPPER and lower cases?

you are viewing a single comment's thread
view the rest of the comments
[-] noot@beehaw.org 4 points 9 months ago

It gets subtle when you consider Unicode. But you said latin alphabet, so you can look at just the UTF-8 section of this table, and assume 1byte = 1letter.

https://github.com/qntm/base32768#base32768

HTH

[-] GammaGames@beehaw.org 7 points 9 months ago

I think we should consider Unicode, I want hashes that look like lau52gj🍀pr18e🍅

this post was submitted on 30 Jan 2024
5 points (100.0% liked)

Technology

37702 readers
55 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS