@@ -91,7 +91,7 @@ This library supports two types of encryption/decryption, both of which support
9191+ [ Performing JWE Encryption] ( #performing-jwe-encryption )
9292+ [ Performing JWE Decryption] ( #performing-jwe-decryption )
9393
94- #### Introduction <a name =" jwe-introduction " ></a >
94+ ##### Introduction <a name =" jwe-introduction " ></a >
9595
9696This library uses [ JWE compact serialization] ( https://datatracker.ietf.org/doc/html/rfc7516#section-7.1 ) for the encryption of sensitive data.
9797The core methods responsible for payload encryption and decryption are ` encrypt_payload ` and ` decrypt_payload ` in the ` jwe_encryption ` module.
@@ -110,7 +110,7 @@ config = JweEncryptionConfig(config_dictionary)
110110decrypted_response_payload = decrypt_payload(body, config)
111111```
112112
113- #### Configuring the JWE Encryption <a name =" configuring-the-jwe-encryption " ></a >
113+ ##### Configuring the JWE Encryption <a name =" configuring-the-jwe-encryption " ></a >
114114
115115` jwe_encryption ` needs a config dictionary to instruct how to decrypt/decrypt the payloads. Example:
116116
@@ -146,7 +146,7 @@ config_file_path = "./config.json"
146146config = JweEncryptionConfig(config_file_path)
147147```
148148
149- #### Performing JWE Encryption <a name =" performing-jwe-encryption " ></a >
149+ ##### Performing JWE Encryption <a name =" performing-jwe-encryption " ></a >
150150
151151Call ` jwe_encryption.encrypt_payload() ` with a JSON (dict) request payload, and optional ` params ` object.
152152
@@ -184,7 +184,7 @@ Output:
184184}
185185```
186186
187- #### Performing JWE Decryption <a name =" performing-jwe-decryption " ></a >
187+ ##### Performing JWE Decryption <a name =" performing-jwe-decryption " ></a >
188188
189189Call ` jwe_encryption.decrypt_payload() ` with a JSON (dict) encrypted response payload.
190190
@@ -227,7 +227,7 @@ Output:
227227+ [ Performing Mastercard Encryption] ( #performing-mastercard-encryption )
228228+ [ Performing Mastercard Decryption] ( #performing-mastercard-decryption )
229229
230- #### Introduction <a name =" introduction " ></a >
230+ ##### Introduction <a name =" introduction " ></a >
231231
232232The core methods responsible for payload encryption and decryption are ` encrypt_payload ` and ` decrypt_payload ` in the ` field_level_encryption ` module.
233233
@@ -245,7 +245,7 @@ config = FieldLevelEncryptionConfig(config_dictionary)
245245decrypted_response_payload = decrypt_payload(body, config)
246246```
247247
248- #### Configuring the Mastercard Encryption <a name =" configuring-the-mastercard-encryption " ></a >
248+ ##### Configuring the Mastercard Encryption <a name =" configuring-the-mastercard-encryption " ></a >
249249
250250` field_level_encryption ` needs a config dictionary to instruct how to decrypt/decrypt the payloads. Example:
251251
@@ -296,7 +296,7 @@ We have a predefined set of configurations to use with Mastercard services:
296296
297297
298298
299- #### Performing Mastercard Encryption <a name =" performing-mastercard-encryption " ></a >
299+ ##### Performing Mastercard Encryption <a name =" performing-mastercard-encryption " ></a >
300300
301301Call ` field_level_encryption.encrypt_payload() ` with a JSON (dict) request payload, and optional ` params ` object.
302302
@@ -338,7 +338,7 @@ Output:
338338}
339339```
340340
341- #### Performing Mastercard Decryption <a name =" performing-mastercard-decryption " ></a >
341+ ##### Performing Mastercard Decryption <a name =" performing-mastercard-decryption " ></a >
342342
343343Call ` field_level_encryption.decrypt_payload() ` with a JSON (dict) encrypted response payload.
344344
0 commit comments