Closed mightybyte closed 4 years ago
Looking at the code more, I get the impression that storing hashes as base64 was intentional. I can certainly see an argument for that, but I can also see an argument for hex...especially for powhash. Perhaps the data structure should be a newtype wrapper around the raw ByteString and then have two of them...one for hex and one for base64? Or perhaps even put the raw bytes in the DB as a blob? Not sure.