<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/7513" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-05-24T10:40:37-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/7513</id>

		<entry>
		<author><name><![CDATA[rudenstam]]></name></author>
		<updated>2004-05-24T10:40:37-04:00</updated>

		<published>2004-05-24T10:40:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36570#p36570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36570#p36570"/>
		<title type="html"><![CDATA[eggdrop -&gt; crypt -&gt; mysql -&gt; decrypt -&gt; php]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36570#p36570"><![CDATA[
true true... will have to think about this<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4967">rudenstam</a> — Mon May 24, 2004 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2004-05-24T04:30:22-04:00</updated>

		<published>2004-05-24T04:30:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36564#p36564</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36564#p36564"/>
		<title type="html"><![CDATA[eggdrop -&gt; crypt -&gt; mysql -&gt; decrypt -&gt; php]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36564#p36564"><![CDATA[
The only problem is, you are transmitting the data in plaintext still.<br><br>All the MySQL functions will do, is see that remote disk storage is encrypted. It doesn't help with a data interception.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon May 24, 2004 4:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rudenstam]]></name></author>
		<updated>2004-05-21T13:27:21-04:00</updated>

		<published>2004-05-21T13:27:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36493#p36493</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36493#p36493"/>
		<title type="html"><![CDATA[eggdrop -&gt; crypt -&gt; mysql -&gt; decrypt -&gt; php]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36493#p36493"><![CDATA[
ahh... nice.. didn't know mysql had internal encrytion.. thnx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4967">rudenstam</a> — Fri May 21, 2004 1:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-21T13:21:22-04:00</updated>

		<published>2004-05-21T13:21:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36492#p36492</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36492#p36492"/>
		<title type="html"><![CDATA[eggdrop -&gt; crypt -&gt; mysql -&gt; decrypt -&gt; php]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36492#p36492"><![CDATA[
You may find it easier to use the <a href="http://dev.mysql.com/doc/mysql/en/Encryption_functions.html" class="postlink">MySQL encryption functions</a> and not rely on the particular scripting languages as support for a particular algorithm may be inconsistant.  SSL support needs to have been included in MySQL for this to work though.<br><br>If you decide to keep the encryption to the scripting language your best bet would be to use DES encryption, PHP supports it with <a href="http://www.php.net/mcrypt" class="postlink">mcrypt</a> and tcl supports it with <a href="http://tcllib.sourceforge.net/doc/des.html" class="postlink">tcllib</a>.<br><br>As for an encryption scheme, use the same public key for encryption and the same private key for decryption.<br><br>tcl:encrypt = data + public key<br>tcl:decrypt = digest + private key<br><br>php:encrypt = data + public key<br>php:decrypt = digest + private key<br>* digest is the encrypted data<br><br>Alternatively if you are using the encrypted data for comparisons, one-way hashing(no way to get the original text back) would be more feesible.  MD5 and SHA have more support with tcl and PHP.  As an example: hashing would be appropriate if you were comparing passwords, take the password input from the user, create a hash, compare that hash with the hash stored in the database.<br><br>Hope this helped.<p>Statistics: Posted by Guest — Fri May 21, 2004 1:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rudenstam]]></name></author>
		<updated>2004-05-21T11:29:41-04:00</updated>

		<published>2004-05-21T11:29:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36489#p36489</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36489#p36489"/>
		<title type="html"><![CDATA[eggdrop -&gt; crypt -&gt; mysql -&gt; decrypt -&gt; php]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36489#p36489"><![CDATA[
I got a (for me) huge problem.... <br><br>what I want is for eggdrop and php to be able to communicate with the same encrypted mysql database.. <br><br>just using eggdrop to encrypt and decrypt with blowfish (or other) and store/get it to/from a database is okey.. <br><br>same with php.. it also works good... <br><br>but I can't figure out how to set up to identical encryption systems so I can store it with eggdrop and get it with php.. or get it with php and store it with eggdrop.. <br><br>Anyone who know a way to do this ? <br>or if you don't.. if you got a encryption module for eggdrop.. please leave a link to it.. <br><br>Thnx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4967">rudenstam</a> — Fri May 21, 2004 11:29 am</p><hr />
]]></content>
	</entry>
	</feed>
