Skip to content

Commit d134bc0

Browse files
authored
Merge pull request #57 from auth0/codeowners
Add CODEOWNERS file and fix typos in README
2 parents 3571b58 + cd19252 commit d134bc0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @auth0/product-security-engineer

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ W3C XML Encryption implementation for node.js (http://www.w3.org/TR/xmlenc-core/
99
### encrypt
1010

1111
~~~js
12-
var xmlenc = require('xmlenc');
12+
var xmlenc = require('xml-encryption');
1313

1414
var options = {
1515
rsa_pub: fs.readFileSync(__dirname + '/your_rsa.pub'),
1616
pem: fs.readFileSync(__dirname + '/your_public_cert.pem'),
1717
encryptionAlgorithm: 'http://www.w3.org/2001/04/xmlenc#aes256-cbc',
18-
keyEncryptionAlgorighm: 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p'
18+
keyEncryptionAlgorithm: 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p'
1919
};
2020

2121
xmlenc.encrypt('content to encrypt', options, function(err, result) {
@@ -66,11 +66,11 @@ decrypted content
6666

6767
Currently the library supports:
6868

69-
* EncryptedKey to transport symmetric key using:
69+
* EncryptedKey to transport symmetric key using:
7070
* http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p
7171
* http://www.w3.org/2001/04/xmlenc#rsa-1_5
7272

73-
* EncryptedData using:
73+
* EncryptedData using:
7474
* http://www.w3.org/2001/04/xmlenc#aes128-cbc
7575
* http://www.w3.org/2001/04/xmlenc#aes256-cbc
7676
* http://www.w3.org/2001/04/xmlenc#tripledes-cbc

0 commit comments

Comments
 (0)