digest added for the public key