Skip to content

Commit 69028e9

Browse files
Merge branch 'master' of github.com:mdn/dom-examples
2 parents f3c8680 + bc3e284 commit 69028e9

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

CODE_OF_CONDUCT.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Community Participation Guidelines
2+
3+
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
4+
For more details, please read the
5+
[Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/).
6+
7+
## How to Report
8+
For more information on how to report violations of the Community Participation Guidelines, please read our '[How to Report](https://www.mozilla.org/about/governance/policies/participation/reporting/)' page.
9+
10+
<!--
11+
## Project Specific Etiquette
12+
13+
In some cases, there will be additional project etiquette i.e.: (https://bugzilla.mozilla.org/page.cgi?id=etiquette.html).
14+
Please update for your project.
15+
-->

web-crypto/encrypt-decrypt/aes-cbc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@
4444
}
4545

4646
/*
47-
Fetch the encoded message and decrypt it.
47+
Fetch the ciphertext and decrypt it.
4848
Write the decrypted message into the "Decrypted" box.
4949
*/
5050
async function decryptMessage(key) {
51-
let encoded = getMessageEncoding();
5251
let decrypted = await window.crypto.subtle.decrypt(
5352
{
5453
name: "AES-CBC",

web-crypto/encrypt-decrypt/aes-ctr.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@
4545
}
4646

4747
/*
48-
Fetch the encoded message and decrypt it.
48+
Fetch the ciphertext and decrypt it.
4949
Write the decrypted message into the "Decrypted" box.
5050
*/
5151
async function decryptMessage(key) {
52-
let encoded = getMessageEncoding();
5352
let decrypted = await window.crypto.subtle.decrypt(
5453
{
5554
name: "AES-CTR",

web-crypto/encrypt-decrypt/aes-gcm.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@
4444
}
4545

4646
/*
47-
Fetch the encoded message and decrypt it.
47+
Fetch the ciphertext and decrypt it.
4848
Write the decrypted message into the "Decrypted" box.
4949
*/
5050
async function decryptMessage(key) {
51-
let encoded = getMessageEncoding();
5251
let decrypted = await window.crypto.subtle.decrypt(
5352
{
5453
name: "AES-GCM",

web-crypto/encrypt-decrypt/rsa-oaep.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@
4040
}
4141

4242
/*
43-
Fetch the encoded message and decrypt it.
43+
Fetch the ciphertext and decrypt it.
4444
Write the decrypted message into the "Decrypted" box.
4545
*/
4646
async function decryptMessage(key) {
47-
let encoded = getMessageEncoding();
4847
let decrypted = await window.crypto.subtle.decrypt(
4948
{
5049
name: "RSA-OAEP"

0 commit comments

Comments
 (0)