Skip to content

Commit 648655a

Browse files
Update server/encrypted-session.js
Co-authored-by: Valentin Gerlach <[email protected]>
1 parent e42b3ee commit 648655a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/encrypted-session.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function decryptSymetric(cipherText, iv, tag, key) {
212212
throw new Error("Key must be provided");
213213
}
214214
if (key.length < 32) {
215-
throw new Error("Key must be at least 32bye = 256 bits long");
215+
throw new Error("Key must be at least 32 byte = 256 bits long");
216216
}
217217

218218
if (!(key instanceof Buffer)) {

0 commit comments

Comments
 (0)