﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » How to hash/encrypt a password</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 17:45:37 GMT</lastBuildDate><ttl>20</ttl><item><title>How to hash/encrypt a password</title><link>http://forum.strataframe.net/FindPost31827.aspx</link><description>I have a small form (not based on Strataframe Form) and I have a Password that I want to Hash Similar to the way the SF User password is encrypted.&lt;br/&gt;&lt;br/&gt;Is it possible to Hash it (and Unhash it later ) by calling a SF Method . Some code&amp;nbsp; (c#) would be helpful</description><pubDate>Sat, 16 Feb 2013 07:27:02 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: How to hash/encrypt a password</title><link>http://forum.strataframe.net/FindPost31838.aspx</link><description>HI Ben&lt;br/&gt;&lt;br/&gt;Thanks</description><pubDate>Sat, 16 Feb 2013 07:27:02 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: How to hash/encrypt a password</title><link>http://forum.strataframe.net/FindPost31836.aspx</link><description>We use the MicroFour.StrataFrame.Security.SecurityBasics.SecurityKey and .SecurityKeyVector properties to allow you to specify the key and vector for the CryptoTransform we use. &amp;nbsp;They are both a byte array and you can set them to anything or use the .GetSecurityKey() and .GetSecurityKeyVector() methods to generate ones for you from a given string. &amp;nbsp;In those methods, we just hash your given key and choose a certain set of bytes from the hash for the key and vector.</description><pubDate>Fri, 15 Feb 2013 10:11:00 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: How to hash/encrypt a password</title><link>http://forum.strataframe.net/FindPost31833.aspx</link><description>Hi Ivan. Thanks for that&lt;br/&gt;&lt;br/&gt;&lt;font color="#000000" size="3" face="Times New Roman"&gt;&lt;/font&gt;&lt;span style="color: blue; font-family: Consolas; font-size: 10pt;"&gt;Dim &lt;/span&gt;&lt;span style="color: rgb(31, 80, 128); font-family: Consolas; font-size: 10pt;"&gt;encryptedContents()&lt;/span&gt;&lt;span style="color: blue; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/span&gt;&lt;span style="color: rgb(31, 80, 128); font-family: Consolas; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-family: Consolas; font-size: 10pt;"&gt;Byte&lt;/span&gt;&lt;span style="color: rgb(31, 80, 128); font-family: Consolas; font-size: 10pt;"&gt; =loEncrypt.Encrypt(contents)&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(31, 80, 128); font-family: Consolas; font-size: 10pt;"&gt;....seems to be the line I am looking for&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(31, 80, 128); font-family: Consolas; font-size: 10pt;"&gt;I though that a Seed was required ...... how does this line know what the seed is ?&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(31, 80, 128); font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;font color="#000000" size="3" face="Times New Roman"&gt;&lt;/font&gt;&lt;br/&gt;&lt;br/&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;&lt;/font&gt;&lt;/font&gt;</description><pubDate>Fri, 15 Feb 2013 09:41:37 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: How to hash/encrypt a password</title><link>http://forum.strataframe.net/FindPost31828.aspx</link><description>Hi Ger.&lt;br/&gt;&lt;br/&gt;Have a look at this sample:&lt;br/&gt;&lt;br/&gt;&lt;a href="http://forum.strataframe.net/FindPost27177.aspx"&gt;http://forum.strataframe.net/FindPost27177.aspx&lt;/a&gt;</description><pubDate>Thu, 14 Feb 2013 05:33:48 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>