I do not have a requirement to only support base64, so I can widen this.  It seems like something is missing around encoding support.  I will add a test in base32, to make sure other encodings can be used.