Hi! It seems that the default base62 alphabet is defined differently across of languages:
Java implementation:
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
Ref: https://github.com/mysto/java-fpe/blob/main/src/main/java/com/privacylogistics/FF3Cipher.java#L515
Python implementation:
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
Ref: https://github.com/mysto/python-fpe/blob/main/ff3/ff3.py#L75
This will lead to inconsistent results between implementations if the user does not define the alphabet explicitly.
Hi! It seems that the default base62 alphabet is defined differently across of languages:
Java implementation:
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzRef: https://github.com/mysto/java-fpe/blob/main/src/main/java/com/privacylogistics/FF3Cipher.java#L515
Python implementation:
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZRef: https://github.com/mysto/python-fpe/blob/main/ff3/ff3.py#L75
This will lead to inconsistent results between implementations if the user does not define the alphabet explicitly.