format-preserving-encryption-java icon indicating copy to clipboard operation
format-preserving-encryption-java copied to clipboard

Update to match SP 800-38G Rev. 1

Open iF2007 opened this issue 6 years ago • 2 comments

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

iF2007 avatar Jan 13 '20 03:01 iF2007

中文数字为啥不能加解密

Pankle avatar May 12 '20 06:05 Pankle

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.

bschoening avatar Nov 01 '21 03:11 bschoening