more work on the encoding stuff. Ick!
more thoughts on how to encode fingerprints and keys and stuf...