Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

0
Weird behaviour going on when I encrypt with AES 256
Post Body

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:-

https://pastebin.com/h2CXJ322

What I use to check the AES Encryption

https://www.devglan.com/online-tools/aes-encryption-decryption

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
31,839
Link Karma
2,984
Comment Karma
28,649
Profile updated: 1 month ago
Posts updated: 3 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
10 months ago