Is it possible to take a digest created like
my $digest = Digest::SHA->new('sha1')->add('hello')->digest;
and then convert $digest
to base10 (instead of hex or base64?) or could you split a hexdigest into 5 pieces and then convert those into integers? would that work? Trying to come up with a way to store the digest as integers (yes I know someone is going to think I'm crazy or stupid, probably both).
update
In theory I should be able to take the final encoded integer output and reverse and reencode to hex and base64 as needed.