# Crypt

作者: Sean 最近更新时间: 20080523

Calculates Hashes for sha, sha1, md5 or aes.

Crypt_AES(pData, nSize, sPassword, SID = 256, bEncrypt = True)
Crypt_Hash(pData, nSize, SID = "CRC32", nInitial = 0)

关于函数的参数和返回值, 请参阅其源码.

#### 备注

This comes within the File.zip, together with File.ahk. It is a replacement for Seans AES.ahk and Hash.ahk.

关于此函数(集)的更新细节和注意事项, 请参见 AutoHotkey 论坛: http://www.autohotkey.com/forum/viewtopic.php?t=19608

#### 许可

不存在

#### 示例

    ; #Include Crypt.ahk
    #NoEnv
    SendMode Input
    SetWorkingDir %A_ScriptDir%

    V := "The quick brown fox jumps over the lazy dog"
    L := StrLen(V)
    MsgBox,, MD5 with Crypt_Hash(), % V . ":`n`n" . Crypt_Hash(&V, L, "MD5") ; Notice, &V instead of just V