pub fn try_note_decryption<D: BatchDomain, Output: ShieldedOutput<D, ENC_CIPHERTEXT_SIZE>>(
ivks: &[D::IncomingViewingKey],
outputs: &[(D, Output)],
) -> Vec<Option<((D::Note, D::Recipient, D::Memo), usize)>>Available on crate feature
alloc only.Expand description
Trial decryption of a batch of notes with a set of recipients.
This is the batched version of crate::try_note_decryption.
Returns a vector containing the decrypted result for each output,
with the same length and in the same order as the outputs were
provided, along with the index in the ivks slice associated with
the IVK that successfully decrypted the output.