Decrypt a file using anonymous public-key encryption. Ciphertext
integrity is still assured thanks to the Encrypt-then-MAC construction.
public static unseal ( string | resource $input, string | resource $output, EncryptionSecretKey $secretKey ) : boolean | ||
$input | string | resource | File name or file handle |
$output | string | resource | File name or file handle |
$secretKey | EncryptionSecretKey | Recipient's encryption secret key |
return | boolean | TRUE on success |