Skip to content

Commit 8f483c0

Browse files
committed
Editorial
1 parent e47527f commit 8f483c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/jwe.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The steps:
3838
needed information.
3939
4. And then you encrypt as described in RFC7516_ .
4040

41-
There is a lower level way of doing the same it will look like this::
41+
There is a lower level way of doing the same, it will look like this::
4242

4343
>>> from cryptojwt.jwk.rsa import import_private_rsa_key_from_file
4444
>>> from cryptojwt.jwe.jwe_rsa import JWE_RSA
@@ -61,14 +61,14 @@ Decrypting using the encrypted message above.
6161
>>> from cryptojwt.jwe.jwe import factory
6262
>>> from cryptojwt.jwk.rsa import RSAKey
6363

64-
>>> _decryptor = factory(jwt, alg="RSA1_5", enc="A128CBC-HS256")
64+
>>> _decryptor = factory(jwe, alg="RSA1_5", enc="A128CBC-HS256")
6565
>>> _dkey = RSAKey(priv_key=priv_key)
6666
>>> msg = _decryptor.decrypt(jwe, [_dkey])
6767

6868
or if you know what you're doing::
6969

7070
>>> _decryptor = JWE_RSA()
71-
>>> msg = _decryptor.decrypt(jwt, priv_key)
71+
>>> msg = _decryptor.decrypt(jwe, priv_key)
7272

7373

7474

0 commit comments

Comments
 (0)