Measuring And Securing Cryptographic Deployments