[][src]Function tox_crypto::pk_as_digest

pub fn pk_as_digest(pk: PublicKey) -> Digest

Convert PublicKey to sha256 Digest type.