Rebol 程式設計/encloak
外觀
ENCLOAK data key /with
根據金鑰對字串或二進位制檔案進行混淆。
ENCLOAK 是一個本地值。
- data -- 要混淆的字串(已修改)(型別:any-string)
- key -- 要使用的金鑰(型別:any-string)
- /with -- 按原樣使用金鑰(為了速度,不進行雜湊)
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)"
]