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.

Source Distribution

pynblock-0.24.tar.gz (14.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page