Lines Matching defs:passphrase
43 // ask for passphrase
44 const passphrase = await GUI.prompt(
46 LANG.plugins.encryptedpasswords.passphrase,
49 if (passphrase === null || passphrase === '') return;
53 form.prefix.value = await this.decryptSyntax(prefix, passphrase);
54 form.suffix.value = await this.decryptSyntax(suffix, passphrase);
55 form.wikitext.value = await this.decryptSyntax(text, passphrase);
66 * @param {string} passphrase
69 async decryptSyntax(text, passphrase) {
77 const clear = await this.aes.autodecrypt(cipher, passphrase);
113 // ask for passphrase
114 const passphrase = await GUI.prompt(
116 LANG.plugins.encryptedpasswords.passphrase,
119 if (passphrase === null || passphrase === '') return;
122 e.target.form.prefix.value = await this.encryptSyntax(prefix, passphrase);
123 e.target.form.suffix.value = await this.encryptSyntax(suffix, passphrase);
124 e.target.form.wikitext.value = await this.encryptSyntax(text, passphrase);
134 * @param {string} passphrase
137 async encryptSyntax(text, passphrase) {
144 const cipher = await this.aes.encrypt(clear, passphrase);