Skip to content

Commit f05aa80

Browse files
committed
fill in comment
1 parent 8300a9d commit f05aa80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/crypto.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ function encrypt(a, b, t, m) {
2727
/**
2828
* Fixed-key 1-block cipher as the Random Oracle.
2929
* @param {string} m - Message
30-
* @param {string} t - ...
31-
* @returns {string} ...
30+
* @param {string} t - Tweak
31+
* @returns {string} Pseudorandom bytes for ephemeral OTP key
3232
*/
3333
function randomOracle(m, t = 0) {
3434
return sodium.crypto_secretbox_easy(

0 commit comments

Comments
 (0)