unable to decode encrypted bytes data stored in db
I have written 2 functions in python, one for encrypting data and other for decrypting data which are as follows.
I have written 2 functions in python, one for encrypting data and other for decrypting data which are as follows.