Rebol Programming/encloak

USAGE: edit

ENCLOAK data key /with 

DESCRIPTION: edit

Scrambles a string or binary based on a key.

ENCLOAK is a native value.

ARGUMENTS edit

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

REFINEMENTS edit

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

SOURCE CODE edit

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)"
]