目录

crypt

此函数用于加密字符串。

语法 (Syntax)

crypt(source,salt) 

参数 (Parameters)

  • source - 这是需要加密的源字符串。

  • salt - 这是需要用于加密过程的字符。

返回值 (Return Value)

此函数返回加密的字符串。

例子 (Example)

/* Main program */ 
options arexx_bifs 
say crypt('abc','gh') 

当我们运行上述程序时,我们将得到以下结果。

输出 (Output)

abc

请注意,如果源字符串与输出字符串相同,则表示操作系统不支持加密。

↑回到顶部↑
WIKI教程 @2018