Net Encryption Library
HashBytes(HashProvider,Byte[],Byte[]) Method






KellermanSoftware.NetEncryptionLibrary Namespace > Encryption Class > HashBytes Method : HashBytes(HashProvider,Byte[],Byte[]) Method
Type of the hash.
The input.
The key.
Deprecated. Use HashBytesBase64 instead. There is also a new method HashBytesHex.
Syntax
'Declaration
 
<System.ObsoleteAttribute("Deprecated.  Use HashBytesBase64 instead. There is also a new method HashBytesHex", False)>
Public Overloads Function HashBytes( _
   ByVal hashType As HashProvider, _
   ByVal input() As System.Byte, _
   ByVal key() As System.Byte _
) As System.String
'Usage
 
Dim instance As Encryption
Dim hashType As HashProvider
Dim input() As System.Byte
Dim key() As System.Byte
Dim value As System.String
 
value = instance.HashBytes(hashType, input, key)
[System.Obsolete("Deprecated.  Use HashBytesBase64 instead. There is also a new method HashBytesHex", false)]
public System.string HashBytes( 
   HashProvider hashType,
   System.byte[] input,
   System.byte[] key
)
public function HashBytes( 
    hashType: HashProvider;
    input: System.Bytearray of;
    key: System.Bytearray of
): System.String; 
System.ObsoleteAttribute("Deprecated.  Use HashBytesBase64 instead. There is also a new method HashBytesHex", )
public function HashBytes( 
   hashType : HashProvider,
   input : System.byte[],
   key : System.byte[]
) : System.String;
[System.Obsolete("Deprecated.  Use HashBytesBase64 instead. There is also a new method HashBytesHex", false)]
public: System.string* HashBytes( 
   HashProvider hashType,
   System.byte[]* input,
   System.byte[]* key
) 
[System.Obsolete("Deprecated.  Use HashBytesBase64 instead. There is also a new method HashBytesHex", false)]
public:
System.String^ HashBytes( 
   HashProvider hashType,
   System.array<byte>^ input,
   System.array<byte>^ 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