@anon
sign up
@anon
sign up
pull down to refresh
10 sats
\
0 replies
\
@ek
16 Jun 2023
\
parent
\
on: I have been asked to ELI5 cryptographic hashes to kids (grade 8).. Is this ok?
bitcoin
You can fix your example by using
salt || MD5(grade || salt || secret)
as the code on the lockers.
salt
is just a random value which makes sure that every hash will be different.
secret
is a secret value which only teachers know. This prevents that students can just try every grade and compare hashes.
With
||
I mean concatenation.
This may be too complicated for 8 graders now though.
write
preview
reply
100 sats
salt || MD5(grade || salt || secret)
as the code on the lockers.salt
is just a random value which makes sure that every hash will be different.secret
is a secret value which only teachers know. This prevents that students can just try every grade and compare hashes.||
I mean concatenation.