Function lbcrypto::operator==(const Plaintext&, const Plaintext&)

Function Documentation

inline bool lbcrypto::operator==(const Plaintext &p1, const Plaintext &p2)

Compares the plaintexts two shared pointers point to.

Parameters
  • p1 – the first plaintext

  • p2 – the second plaintext

Returns

whether the two plaintexts are the same