Open barspi opened 2 years ago
@barspi this PR https://github.com/jpos/jPOS/pull/496 has a initial approach to solve this issue, the idea is that we have a Environment property that has the list of 8 length bines and we use that to protect.
We can update the format/name of the property, if is useful, I will update the support for 8 length bines on Card and Cardholder.
ISOUtil#protect() should have configurable/dynamic masking of PANs to support 8-digit BINs
Come up with a flexible and backward-compatible (default) solution.