Hello,

I would like to use custom BASE32 alphabet with Base32Decoder class
but my code doesn't work, it crashes cause of an inifinite Loop :

CryptoPP::Base32Decoder decoder;
static int decodingArray[256];
static const byte myAlphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";

CryptoPP::Base32Decoder::InitializeDecodingLookupArray(decodingArray,myAlphabet,
32,true);
b32_decoder.Initialize(CryptoPP::MakeParameters(CryptoPP::Name::DecodingLookupArray(),
(const int *)decodingArray, false));


It crashes here in "Initialize function" cause of an infinite loop (i
have checked this with a debugger).

Any idea?

Thanx.

-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to