Rebol Programming/decloak

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:

[edit | edit source]
DECLOAK data key /with 

DESCRIPTION:

[edit | edit source]

Descrambles the string scrambled by encloak.

DECLOAK is a native value.

ARGUMENTS

[edit | edit source]
  • data -- String to descramble (modified) (Type: any-string)
  • key -- Key to use (Type: any-string)

REFINEMENTS

[edit | edit source]
  • /with -- Use key as-is (for speed, no hashing)

SOURCE CODE

[edit | edit source]
decloak: native[
    "Descrambles the string scrambled by encloak." 
    data [any-string!] "String to descramble (modified)" 
    key [any-string!] "Key to use" 
    /with "Use key as-is (for speed, no hashing)"
]