ProtectString + UnProtectString

Protects or unprotects a string giving a password
Using XorD and similar to ProtectFile_XorD and UnProtectFile_XorD here


Public

Tested

My Own Work
Function ProtectString(Str, Pwd)
 ProtectString   = XorD(Str, Pwd, True)
End Function
Function UnProtectString(Str, Pwd)
 UnProtectString  = XorD(Str, Pwd, False)
End Function

Str, Pwd

Views 130 Downloads 44

Classic ASP Protection
ANmarAmdeen
675
Attachments
Revisions

v1.0

Needs