pub fn decrypt_identity_keys(
encrypted: &[u8],
pin: &str,
) -> Result<(SigningSecretKey, RecipientSecretKey, Option<NostrSecretKey>), PinError>Expand description
Decrypt identity keys using a PIN.
Supports both v1 (signing + recipient) and v2 (signing + recipient + nostr) formats.
Returns (signing, recipient, Option<nostr>) — nostr is None for v1 blobs.