CryptoSys PKI Pro Manual

Example: Hash.HexFromHex 

[VB6 equivalent: HASH_HexFromHex]

Dim strDigest As String
Dim strData As String
' Compute SHA-1("abc")
strData = "616263"
strDigest = Hash.HexFromHex(strData, HashAlgorithm.Sha1)
Console.WriteLine(strDigest)
' Compute SHA-224("abc")
strData = "616263"
strDigest = Hash.HexFromHex(strData, HashAlgorithm.Sha224)
Console.WriteLine(strDigest)

See Also:
Hash.HexFromHex Method

[Contents] [Index]

[PREV: Example: Hash.HexFromFile ...]   [Contents]   [Index]   
   [NEXT: Example: Hmac.Bytes ...]

Copyright © 2004-23 D.I. Management Services Pty Ltd. All rights reserved. Generated 2023-09-18T10:02:53Z.