You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, it appears that field.encrypt will accept a string object, but the underlying crypto library seems to automatically cast it into some multibyte thing.
Right now, it appears that field.encrypt will accept a string object, but the underlying crypto library seems to automatically cast it into some multibyte thing.
field.decrypt(field.encrypt('example'))
->b'e\x00\x00\x00x\x00\x00'
field.decrypt(field.encrypt(b'example'))
->b'example'
The text was updated successfully, but these errors were encountered: