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






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

Parameters

hashType
Type of the hash.
input
The input.

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