<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=SimpleCrypt</id>
	<title>SimpleCrypt - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=SimpleCrypt"/>
	<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=SimpleCrypt&amp;action=history"/>
	<updated>2026-11-21T12:37:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://wiki.dabo.leafe.com/index.php?title=SimpleCrypt&amp;diff=4193&amp;oldid=prev</id>
		<title>Ed: Created page with &quot;&#039;&#039;&#039;SimpleCrypt&#039;&#039;&#039; is pretty much what its name implies: a very simple tool for encrypting stuff. Technically, what we are doing is taking plaintext and turning it into ciphert...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=SimpleCrypt&amp;diff=4193&amp;oldid=prev"/>
		<updated>2020-05-17T15:52:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;SimpleCrypt&amp;#039;&amp;#039;&amp;#039; is pretty much what its name implies: a very simple tool for encrypting stuff. Technically, what we are doing is taking plaintext and turning it into ciphert...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;SimpleCrypt&amp;#039;&amp;#039;&amp;#039; is pretty much what its name implies: a very simple tool for encrypting stuff. Technically, what we are doing is taking plaintext and turning it into ciphertext. &amp;#039;&amp;#039;&amp;#039;SimpleCrypt&amp;#039;&amp;#039;&amp;#039; is included with Dabo, and is the default tool for encrypting/decrypting passwords stored in connection files.&lt;br /&gt;
&lt;br /&gt;
This is great for testing and development, but you should not use it in production environments. There are two main reasons:&lt;br /&gt;
&lt;br /&gt;
# Anyone with a copy of Dabo could decrypt your password.&lt;br /&gt;
# It isn&amp;#039;t portable between 32-bit and 64-bit python. See the trac ticket at http://trac.dabodev.com/ticket/1179 for more information.&lt;br /&gt;
&lt;br /&gt;
Essentially, this makes what &amp;#039;&amp;#039;&amp;#039;SimpleCrypt&amp;#039;&amp;#039;&amp;#039; does more like &amp;quot;obscuring&amp;quot; your data, and not actually encrypting it.&lt;br /&gt;
&lt;br /&gt;
A better choice to use for creating the encrypted ciphers is the &amp;#039;&amp;#039;&amp;#039;The Python Cryptography Toolkit&amp;#039;&amp;#039;&amp;#039;, otherwise known as [https://www.dlitz.net/software/pycrypto/ PyCrypto]. If this is installed on a system running a Dabo application, and you&amp;#039;ve set the encryption key, Dabo will use the DES algorithm in this library instead of the much weaker algorithm that SimpleCrypt uses.&lt;br /&gt;
&lt;br /&gt;
The key is set by setting the value of &amp;lt;code&amp;gt;dabo.cryptoKeyDES&amp;lt;/code&amp;gt;; this is typically done by including the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
crytoKeyDES = &amp;quot;Some Text Value&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in your application&amp;#039;s &amp;lt;code&amp;gt;settings_override.py&amp;lt;/code&amp;gt; file, or by setting it early in your application. Be sure that it is set before the first call to &amp;lt;code&amp;gt;dApp.encrypt()&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dApp.decrypt()&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Ed</name></author>
	</entry>
</feed>