Popular recipes tagged "cryptography" but not "decryption"http://code.activestate.com/recipes/tags/cryptography-decryption/2015-09-21T12:58:34-07:00ActiveState Code Recipesed25519 (Python)
2015-09-21T12:58:34-07:00yotahttp://code.activestate.com/recipes/users/4184815/http://code.activestate.com/recipes/579102-ed25519/
<p style="color: grey">
Python
recipe 579102
by <a href="/recipes/users/4184815/">yota</a>
(<a href="/recipes/tags/cryptography/">cryptography</a>).
Revision 2.
</p>
<p>This is a re-implementation of the ed25519 signature algorithm as proposed on this page : <a href="http://ed25519.cr.yp.to/python/ed25519.py." rel="nofollow">http://ed25519.cr.yp.to/python/ed25519.py.</a></p>
<p>Do not use for production, only for the eyes o_O</p>
<p>Code is tab indented, space indentation kills kitten...</p>
Simple Cipher (Python)
2014-07-22T16:23:39-07:00Stephen Driffillhttp://code.activestate.com/recipes/users/4190452/http://code.activestate.com/recipes/578912-simple-cipher/
<p style="color: grey">
Python
recipe 578912
by <a href="/recipes/users/4190452/">Stephen Driffill</a>
(<a href="/recipes/tags/cipher/">cipher</a>, <a href="/recipes/tags/code/">code</a>, <a href="/recipes/tags/cryptography/">cryptography</a>).
</p>
<p>Takes a string and encodes it using a simple cipher.</p>
Frequency Analyser (Python)
2011-08-11T09:26:56-07:00Stijn de Graafhttp://code.activestate.com/recipes/users/4178055/http://code.activestate.com/recipes/577837-frequency-analyser/
<p style="color: grey">
Python
recipe 577837
by <a href="/recipes/users/4178055/">Stijn de Graaf</a>
(<a href="/recipes/tags/analysis/">analysis</a>, <a href="/recipes/tags/analyze/">analyze</a>, <a href="/recipes/tags/character/">character</a>, <a href="/recipes/tags/cryptography/">cryptography</a>, <a href="/recipes/tags/frequency/">frequency</a>).
</p>
<p>Calculates the frequency of characters within a block of text. In the context of cryptography, these values can be compared to a frequency table in order to attempt to ascertain the original message.</p>
M2Crypto-compatible root certificate list generator (Python)
2010-08-25T00:49:48-07:00Mike Ivanovhttp://code.activestate.com/recipes/users/4169853/http://code.activestate.com/recipes/577370-m2crypto-compatible-root-certificate-list-generato/
<p style="color: grey">
Python
recipe 577370
by <a href="/recipes/users/4169853/">Mike Ivanov</a>
(<a href="/recipes/tags/authority/">authority</a>, <a href="/recipes/tags/certificate/">certificate</a>, <a href="/recipes/tags/cryptography/">cryptography</a>, <a href="/recipes/tags/https/">https</a>, <a href="/recipes/tags/pem/">pem</a>, <a href="/recipes/tags/ssl/">ssl</a>).
</p>
<p>This modified version of the Heikki Toivonen's certdata2pem script automatically downloads the freshest certdata.txt file and converts it to PEM format. Requires M2Crypto. </p>
Prime, Perfect and Fibonacci Number Widget Class (Python)
2010-05-19T17:02:28-07:00AJ. Mayorgahttp://code.activestate.com/recipes/users/4173476/http://code.activestate.com/recipes/577229-prime-perfect-and-fibonacci-number-widget-class/
<p style="color: grey">
Python
recipe 577229
by <a href="/recipes/users/4173476/">AJ. Mayorga</a>
(<a href="/recipes/tags/cryptography/">cryptography</a>, <a href="/recipes/tags/numbers/">numbers</a>, <a href="/recipes/tags/prime/">prime</a>, <a href="/recipes/tags/primes/">primes</a>).
Revision 2.
</p>
<p>A class Ive had in my snippets for awhile that can generate prime, perfect and fibonacci sequences as well as check whether or not a supplied value is any of them.</p>
SimpleCryptSocketExt - SimpleCrypt Wrapper for Easy Socket, Client / Server Encryption (Python)
2010-05-07T15:33:06-07:00AJ. Mayorgahttp://code.activestate.com/recipes/users/4173476/http://code.activestate.com/recipes/577212-simplecryptsocketext-simplecrypt-wrapper-for-easy-/
<p style="color: grey">
Python
recipe 577212
by <a href="/recipes/users/4173476/">AJ. Mayorga</a>
(<a href="/recipes/tags/client_server/">client_server</a>, <a href="/recipes/tags/cryptography/">cryptography</a>, <a href="/recipes/tags/encryption/">encryption</a>, <a href="/recipes/tags/server/">server</a>, <a href="/recipes/tags/socket/">socket</a>).
Revision 5.
</p>
<p>Lightweight drop-in encryption wrapper for various Client/Server solutions supporting
protocols such as UDP, TCP, HTTP, HTTPS, FTP, RAW Sockets etc.</p>
Simple Small Tweakable Encryption Solution -- SimpleCrypt (Python)
2010-04-30T21:00:26-07:00AJ. Mayorgahttp://code.activestate.com/recipes/users/4173476/http://code.activestate.com/recipes/577174-simple-small-tweakable-encryption-solution-simplec/
<p style="color: grey">
Python
recipe 577174
by <a href="/recipes/users/4173476/">AJ. Mayorga</a>
(<a href="/recipes/tags/crypt/">crypt</a>, <a href="/recipes/tags/cryptography/">cryptography</a>, <a href="/recipes/tags/encryption/">encryption</a>).
Revision 6.
</p>
<p>Encryption can sometimes be a nightmare, at least is my experience while Python has
some excellent resources for encryption I found myself a lot of times needing an
encryption solution that could port easily between VS C++, .NET, PHP, and Python
projects that would be simple to implement and not rely on large bloated
crypto libs.</p>