data
with the given TorPublicKey
according to the "hybrid encryption" scheme described in the main Tor specification (tor-spec.txt).
@param data The bytes to be encrypted.
@param publicKey The public key to use for encryption.
@return A new array containing the encrypted data.
|
|