Function lightning_signer::persist::compute_shared_hmac

source ยท
pub fn compute_shared_hmac(
    secret: &[u8],
    nonce: &[u8],
    kvs: &Mutations,
) -> [u8; 32]
Expand description

Compute a client/server HMAC - which proves the client or server initiated this call and no replay occurred.