discovery_key

Function discovery_key 

Source
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.