d stores it in client</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>client</code> - A pointer to a Client, obtained from initClient</dd>
<dd><code>public_key</code> - serialized public key obtained from generatePartialPublicKey</dd>
</dl>
</li>
</ul>
<a id="encrypt(long,double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>encrypt</h4>
<pre class="methodSignature">public static&nbsp;byte[]&nbsp;encrypt&#8203;(long&nbsp;client,
                             