Skip to main content

Payment card industry crypto library - PIN blocks, card/PIN verification values calculation etc.

Project description

A payment card industry crypto library - PIN blocks, card/PIN verification values calculation etc

Usage:
>>> from pynblock.tools import *
>>> check_key_parity(bytes.fromhex('FA9F90D49CB27B7D14A3FA9CCCFF6CB7'))
True
>>> modify_key_parity(bytes.fromhex('32743CD2823EF937A865A18A8A3A1657'))
b'3t<\xd2\x82?\xf99\xa9e\xa3\x8b\x8b:\x17Y'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pynblock, version 0.26
Filename, size File type Python version Upload date Hashes
Filename, size pynblock-0.26.tar.gz (14.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page