Skip to main content

encrypted_note_emission

Standalone Functions

compute_raw_note_log

compute_raw_note_log(context, note, ovsk_app, ovpk, ivpk, recipient, );

Parameters

NameType
contextPrivateContext
noteNote
ovsk_appField
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress

compute_raw_note_log_unconstrained

compute_raw_note_log_unconstrained(context, note, ovpk, ivpk, recipient, );

Parameters

NameType
contextPrivateContext
noteNote
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress

encode_and_encrypt_note

encode_and_encrypt_note(context, ovpk, ivpk, recipient, );

If you get weird behavior it might be because of it.

Parameters

NameType
context&mut PrivateContext
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress

encode_and_encrypt_note_unconstrained

encode_and_encrypt_note_unconstrained(context, ovpk, ivpk, recipient, );

Parameters

NameType
context&mut PrivateContext
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress

encrypt_and_emit_partial_log

encrypt_and_emit_partial_log(context, log_plaintext, recipient_keys, recipient, );

/ not know who the recipient is).

Parameters

NameType
context&mut PrivateContext
log_plaintext[u8; M]
recipient_keysPublicKeys
recipientAztecAddress