Function lightning_storage_server::util::compute_shared_hmac
source · pub fn compute_shared_hmac(
secret: &[u8],
nonce: &[u8],
kvs: &[(String, Value)]
) -> Vec<u8>Expand description
Compute a client/server HMAC - which proves the client or server initiated this call and no replay occurred.