Unable to decrypt after AES-GCM + Base64 in Go
Someone from the GopherSlack community came up with the solution:
StdEncoding
pads it's results which in this case caused decryption problems when (during the encryption process) padding the output was necessary. Therefore you should use RawStdEncoding
in this example.
Thanks for the help! :)