Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Fernet: Cannot decrypt strings saved in csv with pandas

token2 = pd.read_csv('encrypted_file.csv') 
token3 = token2.applymap(lambda x: bytes(x[2:-1],'utf-8'))
token4 = token3.applymap(lambda x: f.decrypt(x))
df_decrp = token4.applymap(lambda x: x.decode('utf-8'))
df_decrp
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Cannot #decrypt #strings #saved #csv #pandas
ADD COMMENT
Topic
Name
6+2 =