News for hackers. Stuff that matters.
Re:Ask HN: Review my App - Freeciv.net by pyre on Sunday December 20, 2009 @03:53PM (#1006559)
Maybe I'm misunderstanding, but the string will already be Base64 if it's human readable (I'm not trying to use character 254 as part of my password) and base64 encoding actually grows the data you are encoding (since you are breaking some bytes down into two bytes to make them both human readable).

The problem being length. Human-readable (ascii-armored/whatever) hashes (md5/sha-1/sha-256) have standard lengths which are usually longer than the maximum size of the password fields.

Re:Ask HN: Review my App - Freeciv.net by durin42 on Monday December 21, 2009 @11:32AM (#1008074)
I was assuming he was using the hex digest of the hash. You have to use some kind of ascii armoring, and base64 seemed like one that'd be reasonably safe.