Classic ASP Framework
org.classicasp.util.EncodeUtilEx

[STATIC] Encoding/Decoding utilities.

Summary

Decodes a string using an implementation of the base64 algorithm.
Encodes a string using an implementation of the base64 algorithm.
Detects if a string is encoded using an implementation of the base64 algorithm.

Base64_Decode

Public Function Base64_Decode(ByVal sValue)
Decodes a string using an implementation of the base64 algorithm.

Returns

StringEx

Example

		
	  Set myVar = EncodeUtilEx.Base64_Decode("text")
	  

Base64_Encode

Public Function Base64_Encode(ByVal sValue)
Encodes a string using an implementation of the base64 algorithm.

Returns

StringEx

Example

		
	  Set myVar = EncodeUtilEx.Base64_Encode("text")
	  

isBase64String

Public Function isBase64String(ByRef vInputValue)
Detects if a string is encoded using an implementation of the base64 algorithm.

Returns

BooleanEx

Example

		
	  Set myVar = EncodeUtilEx.isBase64String("text")
	  

'***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 .