/psec

A Python package for payment security

Primary LanguagePythonMIT LicenseMIT

PyPI Test coverage

psec package provides tools for protecting sensitive data and cardholder authentication in retail payment transactions.

Installation

psec is published on PyPI and can be installed from there:

pip install psec

Modules

  • tr31 - TR-31 key block wrapping and unwrapping
  • cvv - Card Verification Value generation
  • des - Triple DES utilities (a wrapper over cryptography)
  • aes - AES utilities (a wrapper over cryptography)
  • mac - Message Authentication Code generation
  • pin - Personal Identification Number generation
  • pinblock - PIN Blocks encoding and decoding

Contributors