File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
6868or 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
You can’t perform that action at this time.
0 commit comments