Automatically generates random 24-byte hashes and computes the base-64 encoding of them. At some point I will enable entering seeds manually. This implementation can accept any UTF8 string and hash it to generate the 24-byte seed, while saving the original string along side it for sharing. I will need some way to detect the difference between auto-generated base-64 hashes and manually-entered strings. I could potentially just try to parse the string as a base-64 hash, falling back to hashing the string if it fails, but I'm considering prepending a special character like ~ to designate a randomly-generated hash.
Automatically generates random 24-byte hashes and computes the base-64 encoding of them. At some point I will enable entering seeds manually. This implementation can accept any UTF8 string and hash it to generate the 24-byte seed, while saving the original string along side it for sharing. I will need some way to detect the difference between auto-generated base-64 hashes and manually-entered strings. I could potentially just try to parse the string as a base-64 hash, falling back to hashing the string if it fails, but I'm considering prepending a special character like
~
to designate a randomly-generated hash.