See MIME::Base64 and perhaps pack.
Update: Although I do not receive the same result - are you sure about the input and output?
use strict; use warnings; use MIME::Base64 'encode_base64'; use Test::More tests => 1; is (encode_base64((pack 'q', -281581062704388899), ''), '/Befg+4HJN0') +;
gives '3SQH7oOfF/w=' instead.
In reply to Re^3: Signed Long Hash
by hippo
in thread Signed Long Hash
by breezykatt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |