Update to allow raw private key in digest