ProtectString + UnProtectString

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

CodeFunctionName
What is this?

Public

Tested

Original 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 1,300

Downloads 443

CodeID
DB ID