Correct hex encoding
Correct hex encoding

Using codecs to convert to hex doesn't make sense from a python3 perspective. Switch over to correct libraries which are supported by all python versions (binascii).
Metadata returned by seal needs to be {str:str}, ensure string, not byte stream.
romanrev/creds3