added crypto library