Skip to main content

shielded_contact_index_key

Function shielded_contact_index_key 

Source
pub fn shielded_contact_index_key(full_viewing_key: &[u8; 96]) -> [u8; 32]
Expand description

The key a shielded account derives its per-contact indices under: HMAC-SHA256(key = "DashPay/shielded/contact-index-key/v1", msg = full viewing key).

It needs the full viewing key, so a holder of the account’s incoming viewing key alone can see which index a payment arrived on but not which contact it belongs to.