This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
There's this strange behaviour going on where encrypting the following results in a valid AES 256 string
{
"bvn": "123456",
"deviceId": "mydevice123",
"emailAddress": "[[email protected]](mailto:[email protected])",
"mobileNumber": "1234567890",
"otp": "123456",
"requestId": "abcde12345"}
But this does not
{
"bvn": "123456",
"deviceId": "mydevice123",
"emailAddress": "[[email protected]](mailto:[email protected])",
"mobileNumber": "1234567890",
"otp": "123456",
"requestId": "abcde12345"}
for a key of 32 bytes using the same code.
I have tried two different encryption libraries and the issue persists.
EDIT:-
What I use to check the AES Encryption
https://www.devglan.com/online-tools/aes-encryption-decryption
Subreddit
Post Details
- Posted
- 10 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/learnpython...