Open yingshaoxo opened 1 year ago
Or if you like, you could also do the encryption by yourself.
Here is the leetcode question that I think you may need, have a look at it please:
https://leetcode.com/problems/decode-the-message
The best solution I could imagine for now is: The encryption will generate an alphabet table, which is a dict, does raw_english_letter to encrypted_english_letter
job. And the alphabet table generation will only take a_secret_string
.
Here you go, I just made a module for encryption and decryption: https://github.com/yingshaoxo/auto_everything#encryption-and-decryption
What you need to do is to replace it to JWE.