Commit graph

2454 commits

Author SHA1 Message Date
Stefan Thomas
27ec74ba8a Fixed all cases of unsafe BigInteger <-> byte[] conversion.
The BigInteger class we're using supports negative integers and
encodes them with a sign bit. Since in our application we are dealing
with unsigned integers only, we need to disable this functionality by
creating two wrapper functions toByteArrayUnsigned and
fromByteArrayUnsigned.
2011-05-08 14:36:11 +01:00
Stefan Thomas
a4de03af4d Make the version byte a parameter. 2011-05-08 11:48:54 +01:00
Stefan Thomas
11eb59873e Added a basic README. 2011-05-06 00:08:46 +01:00
Stefan Thomas
c0d740d2d4 Initial import 2011-05-04 17:02:56 +01:00