C# Class _7_CryptoStorage.Hashing

Mostra file Open project: candanbolukbas/Secure-Programming-Samples

Protected Properties

Property Type Description
MD5TextLabel global::System.Web.UI.WebControls.Label
PlainTextLabel global::System.Web.UI.WebControls.Label
RFC2898TextLabel global::System.Web.UI.WebControls.Label
SHA1TestLabel global::System.Web.UI.WebControls.Label
SaltTextLabel global::System.Web.UI.WebControls.Label
SaltedSHA1TextLabel global::System.Web.UI.WebControls.Label
form1 global::System.Web.UI.HtmlControls.HtmlForm

Public Methods

Method Description
HexStringFromBytes ( byte bytes ) : string
SaltAndHashPassword ( string password, byte salt, int hashSize ) : string

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void

Method Details

HexStringFromBytes() public static method

public static HexStringFromBytes ( byte bytes ) : string
bytes byte
return string

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

SaltAndHashPassword() public method

public SaltAndHashPassword ( string password, byte salt, int hashSize ) : string
password string
salt byte
hashSize int
return string

Property Details

MD5TextLabel protected_oe property

MD5TextLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label MD5TextLabel
return global::System.Web.UI.WebControls.Label

PlainTextLabel protected_oe property

PlainTextLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label PlainTextLabel
return global::System.Web.UI.WebControls.Label

RFC2898TextLabel protected_oe property

RFC2898TextLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label RFC2898TextLabel
return global::System.Web.UI.WebControls.Label

SHA1TestLabel protected_oe property

SHA1TestLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SHA1TestLabel
return global::System.Web.UI.WebControls.Label

SaltTextLabel protected_oe property

SaltTextLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SaltTextLabel
return global::System.Web.UI.WebControls.Label

SaltedSHA1TextLabel protected_oe property

SaltedSHA1TextLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SaltedSHA1TextLabel
return global::System.Web.UI.WebControls.Label

form1 protected_oe property

form1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm form1
return global::System.Web.UI.HtmlControls.HtmlForm