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.26.tar.gz (14.9 kB view hashes)

Uploaded source

Supported by

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