Re: [codec] Base32 decode is not case-insensitive?

2017-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Can I get a review (and hopefully a commit) on this issue? https://issues.apache.org/jira/browse/CODEC-234 I'd really like to have these features available directly in the library instead of having to massage input before handing it off to

Re: [codec] Base32 decode is not case-insensitive?

2017-05-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paulo, On 5/1/17 1:35 PM, Paulo Roberto Massa Cereda wrote: > Apologies, I quoted the wrong bit! > > --8< When decoding, upper and lower case > letters are accepted, and i and l will be treated as 1 and o will > be treated

Re: [codec] Base32 decode is not case-insensitive?

2017-05-01 Thread Paulo Roberto Massa Cereda
Apologies, I quoted the wrong bit! --8< When decoding, upper and lower case letters are accepted, and i and l will be treated as 1 and o will be treated as 0. When encoding, only upper case letters are used. --8< Best, Paulo Em 01-05-2017

Re: [codec] Base32 decode is not case-insensitive?

2017-05-01 Thread Paulo Roberto Massa Cereda
'ello! I suspect it has something to do with Douglas Crockford's base32 [1]: -8<--- The encoding scheme is required to * Be human readable and machine readable. * Be compact. Humans have difficulty in manipulating long strings of arbitrary symbols. * Be error

[codec] Base32 decode is not case-insensitive?

2017-05-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I spent a few hours trying to figure out what I had done wrong when trying to base32-decode a 32-character string and was getting a 5-byte array back (instead of a 20-byte array, as expected). I finally determined that Base32.decode doesn't