CryptoSys API Library Manual

Hash.BytesFromBytes Method

Creates hash digest in byte format of byte input

Syntax

[C#]
public static byte[] BytesFromBytes(
	byte[] message,
	HashAlgorithm hashAlg
)
[VB.NET]
Public Shared Function BytesFromBytes ( _
	message As Byte(), _
	hashAlg As HashAlgorithm _
) As Byte()

Parameters

message
Message data in byte format
hashAlg
Hash algorithm to be used

Return Value

Message digest in byte format

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: HASH_Bytes

[Contents] [Index]

[HOME]   [NEXT: Hash.BytesFromFile Method...]

Copyright © 2001-11 D.I. Management Services Pty Ltd. All rights reserved.