Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timgabets/pynblock
Payment card industry crypto library - PIN blocks, card/PIN verification values calculation etc.
https://github.com/timgabets/pynblock
Last synced: about 2 months ago
JSON representation
Payment card industry crypto library - PIN blocks, card/PIN verification values calculation etc.
- Host: GitHub
- URL: https://github.com/timgabets/pynblock
- Owner: timgabets
- License: lgpl-2.1
- Created: 2017-05-16T19:07:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-31T14:19:50.000Z (over 7 years ago)
- Last Synced: 2024-11-06T15:59:49.053Z (2 months ago)
- Language: Python
- Size: 32.2 KB
- Stars: 5
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
pynblock
========
A payment card industry crypto library - PIN blocks, card/PIN verification values calculation etcUsage:
>>> 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'