node-fe1-fpe icon indicating copy to clipboard operation
node-fe1-fpe copied to clipboard

Node.js implementation of the FE1 Format Preserving Encryption algorithm.

Results 4 node-fe1-fpe issues
Sort by recently updated
recently updated
newest added

Hi, I see that currently it supports only numbers, is there a reason why ASCII alphabets and Unicode is not supported? Thanks.

The calculation of `left` in decryption can result in a negative number when `modulu` is less than 0, https://github.com/eCollect/node-fe1-fpe/blob/ceae15baf310e65c89504ce785f568b4c204f433/index.js#L63 this leads to a failure to recover the original value. The...

Should I expect to get the same encrypted result as what is shown in the README? I get `5011` instead of `4984`: ``` $ node Welcome to Node.js v12.14.1. >...