Thanks to manbeardgames. I'm just started studing C#, so I'm not good at C#, so I converted this to Python. Almost funcs and vars is same to C# file of manbeardgames. Sorry for no annotation. Please check cs file to annotation.
SorameHato/eamuse-card-convert
A command-line utility for converting between card numbers written on the back of an e-Amusement card and the card ID stored in the RFID on the card.
Python