Hello,
I received a request from a client who wants emails to be hashed base64 encoded SHA 256. I've tried all kinds of conversions within Alteryx with base64 encoder tool and blob converts, even trying to use formulas to convert my sha 256 into binary to be encoded base64 but it's not panning out. The client provided an example for janedoe@gmail.com but I can't match the same hash that was provided.
I've seen some promise with Python but I'm completely new to the language. I'm trying to hash my emails using this code but it's not panning out. If I attempt to do the whole list, it will give me the attribute error where the Series object has no attribute encode or if I attempt to loop it in some way, it will say hashlib.hash is not iterable.


The most I can do is reference a single element from the series, and do the hash, only one at a time but is there any way for me to be able to hash all the emails in the column?
Any help would be greatly appreciated.