in reply to Perl equivalent of Java code
I don't know about the toByteArray() method, but the conversion to a BigInteger-like object could be handled by Math::BigInt. You could then use standard algorithms for dividing an integer into bytes, I suppose.
|
|---|