RSA decryption does not work when saved as base64
I’m trying to encrypt data, save the encrypted data as a base64 string and then use the base64 string to decrypt it again. This works when I base64 encode and decode in the same function but this won’t work if I take the base64 string from my sql database.