Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - strencrypt() encrypt a character string http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 strencrypt()        Encrypt a character string
------------------------------------------------------------------------------
 Declaration
   string.hdr

 Syntax
   func char strencrypt extern
   param const char cString

 Arguments
   cString is a character string to be encrypted.

 Return
   The encrypted version of the passed string.

 Description
   The strencrypt() function converts a string to an encrypted form.
   The function operates identically to the effect of the `` delimiters
   for literal strings. The resulting string can be converted to its
   original readable form using the strdecrypt() function.

 Example
   #define EXAMPLE_STRING
   #include example.hdr

   proc Test_strencrypt
   vardef
      char cString
   enddef
   cString := "This is a sensitive string"
   ? cString
   ? strencrypt( cString )
   ? strdecrypt( strencrypt( cString ) )
   endproc

   proc main
   Test_strencrypt()
   endproc

See Also: strdecrypt() string

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson