lizzie lizzie - 5 months ago 69
Python Question

verify is a string is encoded in base64 python

Is there a good way to verify if a string is encoded in base 64 with python?

Thank you


This isn't possible. The best you could do would be to verify that a string might be valid Base 64, although many strings consisting of only ASCII text can be decoded as if they were Base 64.