This is the full ISO-7812 implementation, in ruby! This is battle tested, production ready.