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

making check method protected

Open raghuraman1 opened this issue 2 years ago • 0 comments

Making check method protected. This is for https://github.com/idealista/format-preserving-encryption-java/issues/15

Description of the Change

This PR is based on the issue- https://github.com/idealista/format-preserving-encryption-java/issues/15 The aim is to make the check method extendible.

Benefits

We will be able to add custom checks including based on regular expressions by just instantiating a derived class and overriding the check method in a custom builder similar to FormatPreservingEncryptionBuilder.

Possible Drawbacks

As of now must write a custom builder similar to FormatPreservingEncryptionBuilder

Applicable Issues

https://github.com/idealista/format-preserving-encryption-java/issues/15

raghuraman1 avatar May 29 '23 09:05 raghuraman1