< Rebol Programming

USAGE:

ENCLOAK data key /with 

DESCRIPTION:

Scrambles a string or binary based on a key.

ENCLOAK is a native value.

ARGUMENTS

  • data -- String to scramble (modified) (Type: any-string)
  • key -- Key to use (Type: any-string)

REFINEMENTS

  • /with -- Use key as-is (for speed, no hashing)

SOURCE CODE

encloak: native[
    "Scrambles a string or binary based on a key." 
    data [any-string!] "String to scramble (modified)" 
    key [any-string!] "Key to use" 
    /with "Use key as-is (for speed, no hashing)"
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.