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 583 Downloads 166

Classic ASP Protection
ANmarAmdeen
747
Attachments
Revisions

v1.0

Needs