Код
SerializeToString(crypto.list("digests"))
[20:21:18] <LuaConsole>
LUA># return {
[1] = "DSA",
[2] = "DSA-SHA",
[3] = "DSA-SHA1",
[4] = "DSA-SHA1-old",
[5] = "DSS1",
[6] = "MD4",
[7] = "MD5",
[8] = "RIPEMD160",
[9] = "RSA-MD4",
[10] = "RSA-MD5",
[11] = "RSA-RIPEMD160",
[12] = "RSA-SHA",
[13] = "RSA-SHA1",
[14] = "RSA-SHA1-2",
[15] = "RSA-SHA224",
[16] = "RSA-SHA256",
[17] = "RSA-SHA384",
[18] = "RSA-SHA512",
[19] = "SHA",
[20] = "SHA1",
[21] = "SHA224",
[22] = "SHA256",
[23] = "SHA384",
[24] = "SHA512",
[25] = "dsaEncryption",
[26] = "dsaWithSHA",
[27] = "dsaWithSHA1",
[28] = "dss1",
[29] = "ecdsa-with-SHA1",
[30] = "md4",
[31] = "md4WithRSAEncryption",
[32] = "md5",
[33] = "md5WithRSAEncryption",
[34] = "ripemd",
[35] = "ripemd160",
[36] = "ripemd160WithRSA",
[37] = "rmd160",
[38] = "sha",
[39] = "sha1",
[40] = "sha1WithRSAEncryption",
[41] = "sha224",
[42] = "sha224WithRSAEncryption",
[43] = "sha256",
[44] = "sha256WithRSAEncryption",
[45] = "sha384",
[46] = "sha384WithRSAEncryption",
[47] = "sha512",
[48] = "sha512WithRSAEncryption",
[49] = "shaWithRSAEncryption",
[50] = "ssl2-md5",
[51] = "ssl3-md5",
[52] = "ssl3-sha1",
}
SerializeToString(crypto.list("ciphers"))
[20:22:46] <LuaConsole>
LUA># return {
[1] = "AES-128-CBC",
[2] = "AES-128-CFB",
[3] = "AES-128-CFB1",
[4] = "AES-128-CFB8",
[5] = "AES-128-ECB",
[6] = "AES-128-OFB",
[7] = "AES-192-CBC",
[8] = "AES-192-CFB",
[9] = "AES-192-CFB1",
[10] = "AES-192-CFB8",
[11] = "AES-192-ECB",
[12] = "AES-192-OFB",
[13] = "AES-256-CBC",
[14] = "AES-256-CFB",
[15] = "AES-256-CFB1",
[16] = "AES-256-CFB8",
[17] = "AES-256-ECB",
[18] = "AES-256-OFB",
[19] = "AES128",
[20] = "AES192",
[21] = "AES256",
[22] = "BF",
[23] = "BF-CBC",
[24] = "BF-CFB",
[25] = "BF-ECB",
[26] = "BF-OFB",
[27] = "CAST",
[28] = "CAST-cbc",
[29] = "CAST5-CBC",
[30] = "CAST5-CFB",
[31] = "CAST5-ECB",
[32] = "CAST5-OFB",
[33] = "DES",
[34] = "DES-CBC",
[35] = "DES-CFB",
[36] = "DES-CFB1",
[37] = "DES-CFB8",
[38] = "DES-ECB",
[39] = "DES-EDE",
[40] = "DES-EDE-CBC",
[41] = "DES-EDE-CFB",
[42] = "DES-EDE-OFB",
[43] = "DES-EDE3",
[44] = "DES-EDE3-CBC",
[45] = "DES-EDE3-CFB",
[46] = "DES-EDE3-CFB1",
[47] = "DES-EDE3-CFB8",
[48] = "DES-EDE3-OFB",
[49] = "DES-OFB",
[50] = "DES3",
[51] = "DESX",
[52] = "DESX-CBC",
[53] = "RC2",
[54] = "RC2-40-CBC",
[55] = "RC2-64-CBC",
[56] = "RC2-CBC",
[57] = "RC2-CFB",
[58] = "RC2-ECB",
[59] = "RC2-OFB",
[60] = "RC4",
[61] = "RC4-40",
[62] = "aes-128-cbc",
[63] = "aes-128-cfb",
[64] = "aes-128-cfb1",
[65] = "aes-128-cfb8",
[66] = "aes-128-ecb",
[67] = "aes-128-ofb",
[68] = "aes-192-cbc",
[69] = "aes-192-cfb",
[70] = "aes-192-cfb1",
[71] = "aes-192-cfb8",
[72] = "aes-192-ecb",
[73] = "aes-192-ofb",
[74] = "aes-256-cbc",
[75] = "aes-256-cfb",
[76] = "aes-256-cfb1",
[77] = "aes-256-cfb8",
[78] = "aes-256-ecb",
[79] = "aes-256-ofb",
[80] = "aes128",
[81] = "aes192",
[82] = "aes256",
[83] = "bf",
[84] = "bf-cbc",
[85] = "bf-cfb",
[86] = "bf-ecb",
[87] = "bf-ofb",
[88] = "blowfish",
[89] = "cast",
[90] = "cast-cbc",
[91] = "cast5-cbc",
[92] = "cast5-cfb",
[93] = "cast5-ecb",
[94] = "cast5-ofb",
[95] = "des",
[96] = "des-cbc",
[97] = "des-cfb",
[98] = "des-cfb1",
[99] = "des-cfb8",
[100] = "des-ecb",
[101] = "des-ede",
[102] = "des-ede-cbc",
[103] = "des-ede-cfb",
[104] = "des-ede-ofb",
[105] = "des-ede3",
[106] = "des-ede3-cbc",
[107] = "des-ede3-cfb",
[108] = "des-ede3-cfb1",
[109] = "des-ede3-cfb8",
[110] = "des-ede3-ofb",
[111] = "des-ofb",
[112] = "des3",
[113] = "desx",
[114] = "desx-cbc",
[115] = "rc2",
[116] = "rc2-40-cbc",
[117] = "rc2-64-cbc",
[118] = "rc2-cbc",
[119] = "rc2-cfb",
[120] = "rc2-ecb",
[121] = "rc2-ofb",
[122] = "rc4",
[123] = "rc4-40",
}