Skip to content

Commit d567284

Browse files
committed
modified transition ciphertext docstrings
1 parent abaf527 commit d567284

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

wasm/src/programs/data/ciphertext.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ impl Ciphertext {
6060
///
6161
/// @param {ViewKey} view_key The view key of the transition signer.
6262
/// @param {Group} transition_public_key The transition public key used to encrypt the ciphertext.
63-
/// @param {string} program The program ID of the function that encrypted the ciphertext.
64-
/// @param {string} function_name The function name that encrypted the ciphertext.
65-
/// @param {u16} index The index of the input parameter that was encrypted.
63+
/// @param {string} program The program ID associated with the ciphertext.
64+
/// @param {string} function_name The name of the function associated with the encrypted inputs and outputs.
65+
/// @param {u16} index The index of the input or output parameter that was encrypted.
6666
///
6767
/// @returns {Plaintext} The decrypted plaintext.
6868
#[wasm_bindgen(js_name = decryptWithTransitionInfo)]
@@ -92,9 +92,9 @@ impl Ciphertext {
9292
/// Decrypt a ciphertext using the transition view key and a (program, function, index) tuple.
9393
///
9494
/// @param {Field} transition_view_key The transition view key that was used to encrypt the ciphertext.
95-
/// @param {string} program The program ID of the function that encrypted the ciphertext.
96-
/// @param {string} function_name The function name that encrypted the ciphertext.
97-
/// @param {u16} index The index of the input parameter that was encrypted.
95+
/// @param {string} program The program ID associated with the ciphertext.
96+
/// @param {string} function_name The name of the function associated with the encrypted inputs and outputs.
97+
/// @param {u16} index The index of the input or output parameter that was encrypted.
9898
///
9999
/// @returns {Plaintext} The decrypted plaintext.
100100
#[wasm_bindgen(js_name = decryptWithTransitionViewKey)]

0 commit comments

Comments
 (0)