Skip to main content

decrypt_v10_cookie

Function decrypt_v10_cookie 

Source
pub fn decrypt_v10_cookie(
    nonce: &[u8; 12],
    ciphertext: &[u8],
    key: &[u8; 32],
) -> Result<Vec<u8>, DpapiError>
Expand description

Decrypt a v10/v20 AES-256-GCM cookie value. key is the 32-byte AES key from Chrome’s Local State (already decrypted).