> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function poseidon2_decrypt

Module: `noir_aztec::messages::encryption::poseidon2`

```rust
pub fn poseidon2_decrypt<let L: u32>(
    ciphertext: [Field; (((L + 2) / 3) * 3) + 1],
    shared_secret: EmbeddedCurvePoint,
    encryption_nonce: Field,
) -> Option<[Field; L]>
```
