Update to use latest meck
Updated to use latest crypto and fix deprecation warnings