@@ -60,9 +60,9 @@ impl Ciphertext {
60
60
///
61
61
/// @param {ViewKey} view_key The view key of the transition signer.
62
62
/// @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.
66
66
///
67
67
/// @returns {Plaintext} The decrypted plaintext.
68
68
#[ wasm_bindgen( js_name = decryptWithTransitionInfo) ]
@@ -92,9 +92,9 @@ impl Ciphertext {
92
92
/// Decrypt a ciphertext using the transition view key and a (program, function, index) tuple.
93
93
///
94
94
/// @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.
98
98
///
99
99
/// @returns {Plaintext} The decrypted plaintext.
100
100
#[ wasm_bindgen( js_name = decryptWithTransitionViewKey) ]
0 commit comments