Skip to content

Commit c1f1982

Browse files
Update server/encrypted-session.js
Co-authored-by: Copilot <[email protected]>
1 parent 2b3267a commit c1f1982

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
@@ -159,7 +159,7 @@ function encryptSymetric(plaintext, key) {
159159
throw new Error("Key must be provided");
160160
}
161161
if (key.length < 32) {
162-
throw new Error("Key must be at least 32bye = 256 bits long");
162+
throw new Error("Key must be at least 32 byte = 256 bits long");
163163
}
164164

165165
if (!(key instanceof Buffer)) {

0 commit comments

Comments
 (0)