format-preserving-encryption-java
format-preserving-encryption-java copied to clipboard
Update to match SP 800-38G Rev. 1
On Feb. 2019, NIST published SP 800-38G Rev. 1, which requires domain size for FF1 to be at least 1 million, whereas currently is 100.
https://github.com/idealista/format-preserving-encryption-java/blob/158a55890d0e0dbfe3825023d104e278cca0e96b/src/main/java/com/idealista/fpe/builder/validate/BuildValidator.java#L7
中文数字为啥不能加解密
For FF3, the tweak length also changed to 56-bits. You may wish to look at one of the other Java libraries which implement SP 800-38G Rev. 1 such as Bouncy Castle or Mysto.