Updated the crypto library to reflect recent changes