Class PKECKKSRNS

Inheritance Relationships

Base Type

Class Documentation

class lbcrypto::PKECKKSRNS : public lbcrypto::PKERNS

Inheritence diagram for lbcrypto::PKECKKSRNS:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="lbcrypto::PKEBase< DCRTPoly >" tooltip="lbcrypto::PKEBase< DCRTPoly >"] "1" [label="lbcrypto::PKECKKSRNS" tooltip="lbcrypto::PKECKKSRNS" fillcolor="#BFBFBF"] "2" [label="lbcrypto::PKERNS" tooltip="lbcrypto::PKERNS"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "2" -> "3" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for lbcrypto::PKECKKSRNS:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="lbcrypto::PKEBase< DCRTPoly >" tooltip="lbcrypto::PKEBase< DCRTPoly >"] "1" [label="lbcrypto::PKECKKSRNS" tooltip="lbcrypto::PKECKKSRNS" fillcolor="#BFBFBF"] "2" [label="lbcrypto::PKERNS" tooltip="lbcrypto::PKERNS"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "2" -> "3" [dir=forward tooltip="public-inheritance"] }

Public Functions

inline virtual ~PKECKKSRNS()
virtual DecryptResult Decrypt(ConstCiphertext<DCRTPoly> ciphertext, const PrivateKey<DCRTPoly> privateKey, NativePoly *plaintext) const override

Method for decrypting plaintext with noise flooding

Parameters
  • &privateKey – private key used for decryption.

  • &ciphertext – ciphertext id decrypted.

  • *plaintext – the plaintext output.

Returns

the decoding result.

virtual DecryptResult Decrypt(ConstCiphertext<DCRTPoly> ciphertext, const PrivateKey<DCRTPoly> privateKey, Poly *plaintext) const override

Method for decrypting plaintext with noise flooding

Parameters
  • &privateKey – private key used for decryption.

  • &ciphertext – ciphertext id decrypted.

  • *plaintext – the plaintext output.

Returns

the decoding result.

template<class Archive>
inline void save(Archive &ar) const
template<class Archive>
inline void load(Archive &ar)
inline std::string SerializedObjectName() const