Classic ASP Framework
org.classicasp.util.HashUtilEx

[STATIC] Hashing utilities.

Summary

Generates an MD5 'digest' or 'signature' of a string.
Generates an SHA256 'digest' or 'signature' of a string.

MD5

Public Function MD5(ByVal sValue)
Generates an MD5 'digest' or 'signature' of a string.

Returns

StringEx

Example

		
	  Set myVar = HashUtilEx.MD5("plaintext")
	  

SHA256

Public Function SHA256(ByVal sValue)
Generates an SHA256 'digest' or 'signature' of a string.

Returns

StringEx

Example

		
	  Set myVar = HashUtilEx.SHA256("plaintext")
	  

'***ClassicASP.org
'Copyright 2010 ClassicASP.org

'This file is part of ClassicASP Framework.

'ClassicASP-Framework is free software: you can redistribute it and/or modify
'it under the terms of the GNU General Public License as published by
'the Free Software Foundation, version 3 of the License.

'ClassicASP-Framework is distributed in the hope that it will be useful,
'but WITHOUT ANY WARRANTY; without even the implied warranty of
'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'GNU General Public License for more details.

'You should have received a copy of the GNU General Public License
'along with ClassicASP-Framework. If not, see .

'For additional information please visit .