Okay, I admit I'm still learning this.<br><br>Let's say I had a function rot13(data,number) and using MVD and QtSql I want to encrypt one or more fields when they are written to disk using the built-in SQLite engine.<br>
<br>Is there a method I can override, or perhaps a way to create a custom view that would intercept all writes, and apply my rot13 function to the data before it gets written?<br><br>I understand that this would be slow (unless using a compiled library like pycrypto), and I understand the need to use hashes vs encryption to do things like lookups.<br>
<br>My goal is to have some or all sensitive fields encrypted with some sort of password, or better yet a password encrypted key, to protect the locally stored data.<br><br>Sample code would be greatly appreciated.<br><br>
Thanks,<br><br>David<br>