Auto merge of #1236 - tomrittervg:tomrittervg-comments-1, r=ebfull
Clarify comment about nonce space for Note Encryption
This commit is contained in:
commit
7e556172d9
|
@ -37,8 +37,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
// Encrypts `message` with `pk_enc` and returns the ciphertext.
|
// Encrypts `message` with `pk_enc` and returns the ciphertext.
|
||||||
// This can only be called twice for a given instantiation before
|
// This is only called ZC_NUM_JS_OUTPUTS times for a given instantiation;
|
||||||
// the nonce-space runs out.
|
// but can be called 255 times before the nonce-space runs out.
|
||||||
Ciphertext encrypt(const uint256 &pk_enc,
|
Ciphertext encrypt(const uint256 &pk_enc,
|
||||||
const Plaintext &message
|
const Plaintext &message
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue