Skip to content

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

License

Notifications You must be signed in to change notification settings

timgabets/pynblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pynblock

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'

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages