REBOL Programming/encloak

      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)"
      ]
      
      Last modified on 27 October 2012, at 22:09