Last modified on 27 October 2012, at 22:09

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.

ARGUMENTSEdit

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

REFINEMENTSEdit

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

SOURCE CODEEdit

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