- Code: Select all Expand view
// New FiveWin Encrypt() and Decrypt() functions
#include "FiveWin.ch"
//----------------------------------------------------------------------------//
function Main()
local cTest1 := "123456789"
local cTest2 := "123456789"
MsgInfo( cTest1 := Encrypt( cTest1, "User1Key" ) )
MsgInfo( cTest2 := Encrypt( cTest2, "Another" ) )
MsgInfo( cTest1 := Decrypt( cTest1, "User1Key" ) )
MsgInfo( cTest2 := Decrypt( cTest2, "Another" ) )
return nil
//----------------------------------------------------------------------------//