跳轉到內容

Rebol 程式設計/decloak

來自華夏公益教科書
DECLOAK data key /with 

對由 encloak 加密的字串進行解密。

DECLOAK 是一個原生值。

  • data -- 要解密的字串(已修改)(型別:any-string)
  • key -- 要使用的金鑰(型別:any-string)
  • /with -- 原樣使用金鑰(為了速度,不進行雜湊)

原始碼

[編輯 | 編輯原始碼]
decloak: native[
    "Descrambles the string scrambled by encloak." 
    data [any-string!] "String to descramble (modified)" 
    key [any-string!] "Key to use" 
    /with "Use key as-is (for speed, no hashing)"
]

華夏公益教科書