Mouse
Wed, 12 Oct 2011 07:19:25 -0700
Jeffrey, One more thing. I may be dense today, but I saw no reference to the extensive set of files (code samples like the one you just posted, etc) on that Wiki page.
I think you're the maintainer of Crypto++ Wiki - so perhaps you'd consider
adding that reference? And if it's there - please point me at it, and/or
make it more prominent.
Tnx!
On Wed, Oct 12, 2011 at 09:55, Mouse <mouse...@gmail.com> wrote:
> Yep, Jeffrey's modification works.
>
> One thing is bugging me - I could swear I tried playing with encoding
> alphabets before posting my comment, and this one was among those I used -
> with no success. I wish I can figure out why. Oh well. :) :(
>
> Wei, perhaps you could include Jeffrey's alt_base32.* in the codebase?
>
> Tnx!
>
> On Wed, Oct 12, 2011 at 00:43, Jeffrey Walton <noloa...@gmail.com> wrote:
>
>>
>>
>> On Oct 9, 10:01 am, Rawler <ulrik.mikaels...@gmail.com> wrote:
>> > Hi,
>> >
>> > I was just trying to use the base32-decoder, noticing it produced
>> > unexpected output. Some further investigation, and I've now concluded
>> > it also produces incorrect output for the test-vectors inhttp://
>> www.faqs.org/rfcs/rfc4648.html.
>> >
>> > CODE:
>> >
>> > #include <crypto++/filters.h>
>> > #include <crypto++/base32.h>
>> >
>> > #include <iostream>
>> >
>> > int main() {
>> > std::string testdata("foobar");
>> > std::string base32str;
>> > CryptoPP::StringSource(testdata, true,
>> > new CryptoPP::Base32Encoder(
>> > new CryptoPP::StringSink(base32str)));
>> > std::cout << base32str << std::endl;
>> > return 0;
>> >
>> > }
>> http://www.cryptopp.com/wiki/File:RFC4648-Base32.zip
>>
>> --
>> You received this message because you are subscribed to the "Crypto++
>> Users" Google Group.
>> To unsubscribe, send an email to
>> cryptopp-users-unsubscr...@googlegroups.com.
>> More information about Crypto++ and this group is available at
>> http://www.cryptopp.com.
>>
>
>
>
> --
> Regards,
> Mouse
>
>
--
Regards,
Mouse
--
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at
http://www.cryptopp.com.