pub fn discovery_key(key: &[u8]) -> DiscoveryKey
Expand description
Calculate the discovery key of a key.
The discovery key is a 32 byte namespaced hash of the key.
pub fn discovery_key(key: &[u8]) -> DiscoveryKey
Calculate the discovery key of a key.
The discovery key is a 32 byte namespaced hash of the key.