cryptimeleon / math

Library providing mathematical basics for (pairing-based) cryptography.
Apache License 2.0
10 stars 2 forks source link

Make Zn#injectiveValueOf more injective #128

Closed rheitjoh closed 2 years ago

rheitjoh commented 2 years ago

Addresses #85 by adding a 1 byte at the front of the given bytes such that leading zeros are not cut off by the BigInteger initialization.