File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ Returns an encrypted and authenticated message, which is
135
135
Authenticates and decrypts the given box with peer's public key, our secret
136
136
key, and the given nonce.
137
137
138
- Returns the original message, or ` false ` if authentication fails.
138
+ Returns the original message, or ` null ` if authentication fails.
139
139
140
140
#### nacl.box.before(theirPublicKey, mySecretKey)
141
141
@@ -187,7 +187,7 @@ Returns an encrypted and authenticated message, which is
187
187
188
188
Authenticates and decrypts the given secret box using the key and the nonce.
189
189
190
- Returns the original message, or ` false ` if authentication fails.
190
+ Returns the original message, or ` null ` if authentication fails.
191
191
192
192
#### nacl.secretbox.keyLength = 32
193
193
You can’t perform that action at this time.
0 commit comments