capitalone / fpe

A format-preserving encryption implementation in Go
Apache License 2.0
201 stars 40 forks source link

FF1 to support crypto engine who does padding #21

Open haocheng888 opened 5 years ago

haocheng888 commented 5 years ago

Some crypto engines (e.g. PKCS7) always do padding (i.e. even input is aligned with block size, additional block is added to output of encryption). Make changes to support these engines

What's in this PR?

For FF1 to support crypto engine who does padding

CLAassistant commented 4 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.