<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : SALT de&#115;cripti&#111;n</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : SALT de&#115;cripti&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 08 Apr 2026 23:14:13 +0000</pubDate>
  <lastBuildDate>Wed, 18 Aug 2004 09:42:33 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=11336</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[SALT de&#115;cripti&#111;n : i figured out what was the error....]]></title>
   <link>https://forums.webwiz.net/salt-description_topic11336_post63957.html#63957</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=12734">cbr600</a><br /><strong>Subject:</strong> 11336<br /><strong>Posted:</strong> 18&nbsp;August&nbsp;2004 at 9:42am<br /><br /><P>i figured out what was the error.&nbsp; I was selecting an extra space character from the displayed table. Glad i found that stupid mistake, 'cos i was going nuts.</P><P>Thanks again borg. If anyone wants a script to merge their existing user DB to a WWForum DB, PM me and ill send you exacly what to do.</P>]]>
   </description>
   <pubDate>Wed, 18 Aug 2004 09:42:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/salt-description_topic11336_post63957.html#63957</guid>
  </item> 
  <item>
   <title><![CDATA[SALT de&#115;cripti&#111;n :  The new users with all their...]]></title>
   <link>https://forums.webwiz.net/salt-description_topic11336_post63926.html#63926</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 11336<br /><strong>Posted:</strong> 17&nbsp;August&nbsp;2004 at 4:37pm<br /><br />The new users with all their details are being entered into the forum database?<br><br>Also each time a user logs in their Usercode is changed, so running two databases of member details will not work.<br><span style="font-size:10px"><br /><br />Edited by -boRg-</span>]]>
   </description>
   <pubDate>Tue, 17 Aug 2004 16:37:16 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/salt-description_topic11336_post63926.html#63926</guid>
  </item> 
  <item>
   <title><![CDATA[SALT de&#115;cripti&#111;n : Is the new added user active? ]]></title>
   <link>https://forums.webwiz.net/salt-description_topic11336_post63924.html#63924</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9441">ljamal</a><br /><strong>Subject:</strong> 11336<br /><strong>Posted:</strong> 17&nbsp;August&nbsp;2004 at 4:25pm<br /><br />Is the new added user active?]]>
   </description>
   <pubDate>Tue, 17 Aug 2004 16:25:45 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/salt-description_topic11336_post63924.html#63924</guid>
  </item> 
  <item>
   <title><![CDATA[SALT de&#115;cripti&#111;n : hi Borg:  i&amp;#039;m desperate...]]></title>
   <link>https://forums.webwiz.net/salt-description_topic11336_post63880.html#63880</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=12734">cbr600</a><br /><strong>Subject:</strong> 11336<br /><strong>Posted:</strong> 17&nbsp;August&nbsp;2004 at 8:59am<br /><br /><P>hi Borg: </P><P>i'm desperate with this problem because all my site development is stalled because of this. Can you give me any hint?</P><P>Thanks in advance</P>]]>
   </description>
   <pubDate>Tue, 17 Aug 2004 08:59:45 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/salt-description_topic11336_post63880.html#63880</guid>
  </item> 
  <item>
   <title><![CDATA[SALT de&#115;cripti&#111;n : ok i created a code to convert...]]></title>
   <link>https://forums.webwiz.net/salt-description_topic11336_post63824.html#63824</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=12734">cbr600</a><br /><strong>Subject:</strong> 11336<br /><strong>Posted:</strong> 16&nbsp;August&nbsp;2004 at 1:36pm<br /><br /><P>ok i created a code to convert my existing DB to new format like wwforum.mdb</P><P>here it is.</P><P><TABLE cellSpacing=0 cellPadding=0 width="95%" align=center><T><TR><TD =bold>wrote:<BR><TABLE cellSpacing=0 cellPadding=1 width="100%" bgColor=#999999><T><TR><TD><TABLE cellSpacing=0 cellPadding=2 width="100%" bgColor=#ffffff><T><TR><TD =text><P></P><P>&lt;% @ Language=VBScript %&gt;<BR>&lt;!--#include file="common.asp" --&gt;<BR>&lt;!--#include file="functions/functions_hash1way.asp" --&gt;<BR>&lt;!--#include file="functions/functions_filters.asp" --&gt;</P><P>&lt;%</P><P>strDatabaseDateFunction = "Now()"</P><P>Set adoCon = Server.CreateObject("ADODB.Connection")<BR>strDbPathAndName = Server.MapPath("admin/database/login.mdb")<BR>strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" &amp; strDbPathAndName<BR>adoCon.connectionstring = strCon<BR>adoCon.Open</P><P>query = "SELECT TOP 10 * FROM tblAuthor"</P><P>Set rsLogin = Server.CreateObject("ADODB.Recordset")<BR>rsLogin.CursorType = 0<BR>rsLogin.CursorLocation = 2<BR>rsLogin.LockType = 1<BR>rsLogin.Open query, adoCon</P><P><BR>%&gt;</P><P>&lt;%</P><P>'******************************************<BR>'***&nbsp; &nbsp;&nbsp;Create Usercode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *****<BR>'******************************************</P><P>Private Function userCode(ByVal strUsername)</P><P>&nbsp;'Randomise the system timer<BR>&nbsp;Randomize Timer</P><P>&nbsp;'Calculate a code for the user<BR>&nbsp;strUserCode = strUsername &amp; hexValue(15)</P><P>&nbsp;'Make the usercode SQL safe<BR>&nbsp;strUserCode = formatSQLInput(strUserCode)</P><P>&nbsp;'Replace double quote with single in this intance<BR>&nbsp;strUserCode = Replace(strUserCode, "''", "'", 1, -1, 1)</P><P>&nbsp;'Return the function<BR>&nbsp;userCode = strUserCode<BR>End Function</P><P>%&gt;<BR>&lt;style type="text/css"&gt;<BR>&lt;!--<BR>.style8 {font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 10px; }<BR>.style10 {font-family: Arial, Helvetica, sans-serif; font-size: 10px; }<BR>--&gt;<BR>&lt;/style&gt;</P><P><BR>&lt;table border=1 width=50%&gt;<BR>&lt;tr align="center"&gt;<BR>&nbsp;&lt;td&gt;<BR>&nbsp;&nbsp; &lt;span class="style8"&gt;Username<BR>&nbsp;&nbsp; &lt;/span&gt;&lt;/td&gt;<BR>&nbsp;&lt;td&gt;<BR>&nbsp;&nbsp; &lt;span class="style8"&gt;Usercode<BR>&nbsp;&nbsp; &lt;/span&gt;&lt;/td&gt;<BR>&nbsp;&lt;td&gt;<BR>&nbsp;&nbsp; &lt;span class="style8"&gt;Password<BR>&nbsp;&nbsp; &lt;/span&gt;&lt;/td&gt;<BR>&nbsp;&lt;td&gt;<BR>&nbsp;&nbsp; &lt;span class="style8"&gt;prev. Password<BR>&nbsp;&nbsp; &lt;/span&gt; <BR>&nbsp;&lt;/td&gt;<BR>&nbsp;&lt;td&gt;<BR>&nbsp;&nbsp; &lt;span class="style8"&gt;Salt<BR>&nbsp;&nbsp; &lt;/span&gt;&lt;/td&gt;<BR>&lt;/tr&gt;</P><P><BR>&lt;% while not rsLogin.eof %&gt;</P><P>&lt;%</P><P>Dim strUsername<BR>Dim strPassword<BR>Dim strSalt</P><P><BR>strUsername = rsLogin("Username")<BR>strPassword = rsLogin("Password")<BR>'strSalt = rsLogin("Salt")</P><P><BR>&nbsp;'******************************************<BR>&nbsp;'*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create a usercode &nbsp;&nbsp;***<BR>&nbsp;'******************************************</P><P>&nbsp;&nbsp;'Calculate a code for the user<BR>&nbsp;&nbsp;strUserCode = userCode(strUsername)</P><P><BR>&nbsp;'******************************************<BR>&nbsp;'*** &nbsp;&nbsp;Encrypt password&nbsp;***<BR>&nbsp;'******************************************</P><P>&nbsp;&nbsp;strSalt = getSalt(Len(strPassword))</P><P>&nbsp;&nbsp;'Concatenate salt value to the password<BR>&nbsp;&nbsp;strEncryptedPassword = strPassword &amp; strSalt</P><P>&nbsp;&nbsp;'Encrypt the password<BR>&nbsp;&nbsp;strEncryptedPassword = HashEncode(strEncryptedPassword)</P><P>&nbsp;'******************************************<BR>&nbsp;'*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create usercode cookie&nbsp;***<BR>&nbsp;'******************************************<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 'Write the cookie with the name Forum containing the value UserID number <BR>&nbsp;&nbsp;Response.Cookies(strCookieName)("UID") = strUserCode</P><P>&nbsp; &nbsp;'Set the expiry date for 1 year (365 days)<BR>&nbsp;&nbsp;'If no expiry date is set the cookie is deleted from the users system 20 minutes after they leave the forum<BR>&nbsp;&nbsp;Response.Cookies(strCookieName).Expires = Now() + 365</P><P>%&gt;</P><P>&lt;tr&gt;<BR>&nbsp;&lt;td&gt;<BR>&nbsp;&nbsp; &lt;span class="style10"&gt;&lt;%= rsLogin("Username")%&gt;<BR>&nbsp;&nbsp; &lt;/span&gt;&lt;/td&gt;<BR>&nbsp;&lt;td&gt;<BR>&nbsp;&nbsp; &lt;span class="style10"&gt;&lt;%= strUserCode %&gt;<BR>&nbsp;&nbsp; &lt;/span&gt;&lt;/td&gt;<BR>&nbsp;&lt;td&gt;<BR>&nbsp;&nbsp; &lt;span class="style10"&gt;&lt;%= strEncryptedPassword %&gt;<BR>&nbsp;&nbsp; &lt;/span&gt;&lt;/td&gt;<BR>&nbsp;&lt;td&gt;<BR>&nbsp;&nbsp; &lt;span class="style8"&gt;&lt;%= rsLogin("Password")%&gt;<BR>&nbsp;&nbsp; &lt;/span&gt; <BR>&nbsp;&lt;/td&gt;<BR>&nbsp;&lt;td&gt;<BR>&nbsp;&nbsp; &lt;span class="style10"&gt;&lt;%= strSalt %&gt;<BR>&nbsp;&nbsp; &lt;/span&gt;&lt;/td&gt;<BR>&lt;/tr&gt;<BR>&lt;% rsLogin.movenext<BR>wend%&gt;</P><P>&lt;/table&gt;</P><P>&lt;%<BR>&nbsp;&nbsp;rsLogin.Close<BR>&nbsp;&nbsp;Set rsLogin = Nothing<BR>&nbsp;&nbsp;adoCon.Close<BR>&nbsp;&nbsp;Set adoCon = Nothing<BR>%&gt;</P><P>&nbsp;</P><P></P></TD></TR></T></TABLE></TD></TR></T></TABLE></TD></TR></T></TABLE><BR></P><P>The result is:</P><P><TABLE width="50%" border=1><T><T><TR align=middle><TD><SPAN ="style8"><strong><FONT face=Arial size=1>Username </FONT></strong></SPAN></TD><TD><SPAN ="style8"><strong><FONT face=Arial size=1>Usercode </FONT></strong></SPAN></TD><TD><SPAN ="style8"><strong><FONT face=Arial size=1>Password </FONT></strong></SPAN></TD><TD><SPAN ="style8"><strong><FONT face=Arial size=1>prev. Password </FONT></strong></SPAN></TD><TD><SPAN ="style8"><strong><FONT face=Arial size=1>Salt </FONT></strong></SPAN></TD></TR><TR><TD><SPAN ="style10"><FONT face=Arial size=1>llima </FONT></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>llimaE2Z21CA43BDB442 </FONT></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>72780F0C4EECE6B3CDCC586A2205096B90FDADE7 </FONT></SPAN></TD><TD><SPAN ="style8"><strong><FONT face=Arial size=1>llima </FONT></strong></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>AFE38 </FONT></SPAN></TD></TR><TR><TD><SPAN ="style10"><FONT face=Arial size=1>palmeida </FONT></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>palmeidaZZ6E434C16DA1C9 </FONT></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>14EB10BA6A949DC82FE36C6DBFE5531DBA9B9C27 </FONT></SPAN></TD><TD><SPAN ="style8"><strong><FONT face=Arial size=1>2799 </FONT></strong></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>899C </FONT></SPAN></TD></TR><TR><TD><SPAN ="style10"><FONT face=Arial size=1>nsousa </FONT></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>nsousa7EZ9CAF5893Z9A7 </FONT></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>818F23F25051974CE0DE563127C4B8767EBB2732 </FONT></SPAN></TD><TD><SPAN ="style8"><strong><FONT face=Arial size=1>nsousa </FONT></strong></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>AE4A30 </FONT></SPAN></TD></TR><TR><TD><SPAN ="style10"><FONT face=Arial size=1>nlopes </FONT></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>nlopesE8DFBF3BBZ4B5C4 </FONT></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>E78A0470CF3C1445BD24578B95BAA56ABF658119 </FONT></SPAN></TD><TD><SPAN ="style8"><strong><FONT face=Arial size=1>nlopes </FONT></strong></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>F3AF23 </FONT></SPAN></TD></TR><TR><TD><SPAN ="style10"><FONT face=Arial size=1>olivcapt </FONT></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>olivcapt2126DD79FZEE168 </FONT></SPAN></TD><TD><SPAN ="style10"><FONT face=Arial size=1>1FAEE817E]]>
   </description>
   <pubDate>Mon, 16 Aug 2004 13:36:11 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/salt-description_topic11336_post63824.html#63824</guid>
  </item> 
  <item>
   <title><![CDATA[SALT de&#115;cripti&#111;n : Make you do Lcase(password) as...]]></title>
   <link>https://forums.webwiz.net/salt-description_topic11336_post62682.html#62682</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=8513">Phat</a><br /><strong>Subject:</strong> 11336<br /><strong>Posted:</strong> 29&nbsp;July&nbsp;2004 at 9:22pm<br /><br />Make you do Lcase(password) as well. I got caught by not doing this before encrypting.]]>
   </description>
   <pubDate>Thu, 29 Jul 2004 21:22:29 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/salt-description_topic11336_post62682.html#62682</guid>
  </item> 
  <item>
   <title><![CDATA[SALT de&#115;cripti&#111;n : The username field can be copied...]]></title>
   <link>https://forums.webwiz.net/salt-description_topic11336_post62676.html#62676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 11336<br /><strong>Posted:</strong> 29&nbsp;July&nbsp;2004 at 6:55pm<br /><br />The username field can be copied straight over.<br><br>The user code field can be any unique value you want. (something not easy to guess would be best)<br><br>The salt and encrypted passwords are done by functions in the file function/function_hash1way.asp<br><br>Call the function getSalt(7), '7' being the length of the generated salt value.<br><br>Store the salt value in the database.<br><br>Then place the salt value on the end of the password and using theHashEncode() pass it your password with the salt value added to getyour encrypted password.<br>]]>
   </description>
   <pubDate>Thu, 29 Jul 2004 18:55:25 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/salt-description_topic11336_post62676.html#62676</guid>
  </item> 
  <item>
   <title><![CDATA[SALT de&#115;cripti&#111;n : i know. What i want to do is create...]]></title>
   <link>https://forums.webwiz.net/salt-description_topic11336_post62664.html#62664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=12734">cbr600</a><br /><strong>Subject:</strong> 11336<br /><strong>Posted:</strong> 29&nbsp;July&nbsp;2004 at 2:48pm<br /><br /><P>i know. What i want to do is create a .asp that reads all records from my old DB and converts them to be like tblAuthor.</P><P>I showed you my tblLOGIN table, so what i need is what would that page be like?</P><P>1 - open Old database<BR>2 - for each record, use a code to get U_PASSWORD and&nbsp; U_NAME and convert it to Password, User_Code, and Salt, (can be displayed on monitor or can be directly replaced on the old DB) so that it can be compatible with the forum DB.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 29 Jul 2004 14:48:38 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/salt-description_topic11336_post62664.html#62664</guid>
  </item> 
  <item>
   <title><![CDATA[SALT de&#115;cripti&#111;n : Not sure what you mean , but the...]]></title>
   <link>https://forums.webwiz.net/salt-description_topic11336_post62640.html#62640</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 11336<br /><strong>Posted:</strong> 29&nbsp;July&nbsp;2004 at 1:21pm<br /><br />Not sure what you mean , but the register.asp page handles theregistration of new users and creates the salt value, encrypts thepassword, and creates the user code for the user.]]>
   </description>
   <pubDate>Thu, 29 Jul 2004 13:21:02 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/salt-description_topic11336_post62640.html#62640</guid>
  </item> 
  <item>
   <title><![CDATA[SALT de&#115;cripti&#111;n : My question is, if i wanted to...]]></title>
   <link>https://forums.webwiz.net/salt-description_topic11336_post62635.html#62635</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=12734">cbr600</a><br /><strong>Subject:</strong> 11336<br /><strong>Posted:</strong> 29&nbsp;July&nbsp;2004 at 12:56pm<br /><br /><P>My question is, if i wanted to create a page that receives the inputed (from a form) username and passord, and displays me the SALT, Username, Usercode, and Password, How would i do that? Using of course the same method as the webwiz forum does.</P><P>Simply tell me: get this code from line <EM>x</EM> to <EM>y</EM> from file <EM>this.asp </EM>and include file <EM>that.asp</EM>, etc it would be a lot easier for me.</P><P>Thanks in advance.</P>]]>
   </description>
   <pubDate>Thu, 29 Jul 2004 12:56:40 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/salt-description_topic11336_post62635.html#62635</guid>
  </item> 
 </channel>
</rss>