Happy Thanksgiving to my fellow US-ians. This is an annual reminder that Base64 can decode different input to the same output. "Secrets" decodes from U2VjcmV0cw==, U2VjcmV0cw=, U2VjcmV0cw, U2VjcmV0cx, U2VjcmV0c9, and sometimes U2V|jcm|V0c|9.
Base64 makes a bad hash or lookup key!
Base64 makes a bad hash or lookup key!
Comments
$ echo secrets | base64
c2VjcmV0cwo=
$ echo -n secrets | base64
c2VjcmV0cw==
Be careful with white space folks.