Hash

this clears up the Packet.hash_algorithms sum type, and uses Nocrypto.Hash.hash and .mac more appropriately.