[Solved] Decoding reversed mulitline string encoded in base64 format automatically [closed]
From the OP’s comment: list = [‘LnNlbHBtYXhlIGVzdSBvdCBlZXJmIGxlZUYgLnNldGlzYmV3IGNpZmZhcnQgaGdpaCBubyBub2l0YXNpbGFtcm9uZWQgZm8gdHBlY25vYyBlaHQgZWJpcmNzZUQgLjQ=’, ‘ZWxpZiBlbm8gbmkgZWIgdHN1TSApaXYgICAg’, ‘c25vaXRhY2lmaWNlcHMgOC1QRVAgdGVlbSB0c3VNICl2ICAgIA==’, ‘Ni4yIG5vaHR5UCBodGl3IGtyb3cgdHN1TSApdmkgICAg’, ‘c2VsdWRvbSByZWh0byB5YiBlbGJhdHJvcG1pIGViIGRsdW9ocyBzc2FsQyApaWlpICAgIA==’] s=””.join(list) s = s.decode(‘base64’, ‘strict’) print (s[::-1]) the join operation connects all of the strings together, but only the first string is translated. This is because, when decoding a base 64 string, everything in the string past the first one or two = characters … Read more