Can we have a function in Python library that analyzes the payload to be encrypted and determine if it is already Ubiq-encrypted and return:
a) True if it is encrypted
b) False if it is not
Use case:
I do not want my code to assume the state of a piece of data stored in my database. I want to be able to seamlessly switch between storing encrypted and decrypted data and have the code detect this automatically without the use of an external (to the data) flag.
Can we have a function in Python library that analyzes the payload to be encrypted and determine if it is already Ubiq-encrypted and return:
a) True if it is encrypted
b) False if it is not
Use case:
I do not want my code to assume the state of a piece of data stored in my database. I want to be able to seamlessly switch between storing encrypted and decrypted data and have the code detect this automatically without the use of an external (to the data) flag.