Problems properly decoding a base64 encoded string

We can close this thread. I got it figured out. There was nothing wrong with the key. There was however a mistake in my spelling.