Takes two resource handles and encrypts the contents of the first,
writing the ciphertext into the second.
public static encryptResource ( resource $inputHandle, resource $outputHandle, Defuse\Crypto\Key $key ) | ||
$inputHandle | resource | |
$outputHandle | resource | |
$key | Defuse\Crypto\Key |