Add _get_digest to CryptoEngine,

Add testing too