forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Encloak
angerangel edited this page Mar 19, 2013
·
2 revisions
ENCLOAK data key /with
Scrambles a binary string based on a key.
ENCLOAK is a native value.
- data -- Binary series to scramble (modified) (binary!)
- key -- Encryption key or pass phrase (string! binary! integer!)
- /with -- Use a string! key as-is (do not generate hash)
#SOURCE
encloak: make native! [ [
"Scrambles a binary string based on a key."
data [binary!] "Binary series to scramble (modified)"
key [string! binary! integer!] "Encryption key or pass phrase"
/with "Use a string! key as-is (do not generate hash)"
] ]