Skip to content

Commit 386fddc

Browse files
save file
1 parent 73ed4ce commit 386fddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

blog/26-04-26/x509-certificates-in-js---encrypt-decrypt-data/ex/aes-encrypt-decrypt-browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ aes encrypt / decrypt browser
130130

131131
function txt_buf(txt){
132132

133-
var buf = new TextEncoder().encode(plaintext);
133+
var buf = new TextEncoder().encode(txt);
134134
return buf;
135135

136136
}//txt_buf

0 commit comments

Comments
 (0)