Subject: | to_bin method returns garbage when value is zero |
Hi,
A Debian user reports the following problem:
perl -MMIME::Base64 -MCrypt::OpenSSL::Bignum -we 'print
encode_base64(Crypt::OpenSSL::Bignum->zero->to_bin)'
returns different garbage every time it's run. Expected result would be
the empty string. Example outputs:
8BPYAQ==
8DPj
8CPJ
8IOn
8KMSAg==
cheers,