Net Encryption Library
HashString(HashProvider,String,String) Method






KellermanSoftware.NetEncryptionLibrary Namespace > Encryption Class > HashString Method : HashString(HashProvider,String,String) Method
Type of the hash.
The input.
The key.
Deprecated. Use HashStringBase64 instead. There is also a new method HashStringHex.
Syntax
'Declaration
 
<System.ObsoleteAttribute("Use HashStringBase64 instead. There is also a new method HashStringHex", False)>
Public Overloads Function HashString( _
   ByVal hashType As HashProvider, _
   ByVal input As System.String, _
   ByVal key As System.String _
) As System.String
'Usage
 
Dim instance As Encryption
Dim hashType As HashProvider
Dim input As System.String
Dim key As System.String
Dim value As System.String
 
value = instance.HashString(hashType, input, key)
[System.Obsolete("Use HashStringBase64 instead. There is also a new method HashStringHex", false)]
public System.string HashString( 
   HashProvider hashType,
   System.string input,
   System.string key
)
public function HashString( 
    hashType: HashProvider;
    input: System.String;
    key: System.String
): System.String; 
System.ObsoleteAttribute("Use HashStringBase64 instead. There is also a new method HashStringHex", )
public function HashString( 
   hashType : HashProvider,
   input : System.String,
   key : System.String
) : System.String;
[System.Obsolete("Use HashStringBase64 instead. There is also a new method HashStringHex", false)]
public: System.string* HashString( 
   HashProvider hashType,
   System.string* input,
   System.string* key
) 
[System.Obsolete("Use HashStringBase64 instead. There is also a new method HashStringHex", false)]
public:
System.String^ HashString( 
   HashProvider hashType,
   System.String^ input,
   System.String^ key
) 

Parameters

hashType
Type of the hash.
input
The input.
key
The key.

Return Value

System.String.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Encryption Class
Encryption Members
Overload List