Cryptographic library for EAC version 2