This decrypts an integer message which has been encrypted under one of the homomorphic schemes supported by this package.
a private/secret key for any scheme as generated by the
a ciphertext as produced from a call to
Note that the scheme specified by the private key,
sk, and the ciphertext,
ct, must match.
If a symmetric key scheme is being used, then the secret key should be provided
The decrypted integer message. If the value is in the range of a standard
integer in R (-2147483647 to 2147483647) then an integer will be returned,
bigz big integer object from the gmp package
will be returned.
enc to encrypt messages to ciphertexts which this function decrypts.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.