pk_as_digest

Function pk_as_digest 

Source
pub fn pk_as_digest(pk: PublicKey) -> Digest
Expand description

Convert PublicKey to sha256 Digest type.