BouncyCastle crypto library modified by DidiSoft