djangosnippets.org: Latest snippets posted by ncoghlanhttps://djangosnippets.org/users/ncoghlan/2011-07-15T01:41:49.427471-05:00ncoghlanTransparently encrypt ORM fields using OpenSSL (via M2Crypto)
2011-07-15T01:41:49.427471-05:00ncoghlanhttps://djangosnippets.org/snippets/2489/<p>Sometimes you need to store information that the server needs in unencrypted form (e.g. OAuth keys and secrets), but you don't really want to leave it lying around in the open on your server. This snippet lets you split that information into two parts:</p>
<ul>
<li>
<p>a securing passphrase, stored in the …</p></li></ul>
Freely redistributable