显示文本框

openssl_get_cipher_methods()

« openssl_get_cert_locations | openssl_get_md_methods »
<?php
$array 
openssl_get_cipher_methods (
    
?  // [bool $aliases = false]
);
?>
结果
$array = [
  
=> 'AES-128-CBC',
  
=> 'AES-128-CFB',
  
=> 'AES-128-CFB1',
  
=> 'AES-128-CFB8',
  
=> 'AES-128-CTR',
  
=> 'AES-128-ECB',
  
=> 'AES-128-OFB',
  
=> 'AES-128-XTS',
  
=> 'AES-192-CBC',
  
=> 'AES-192-CFB',
  
10 => 'AES-192-CFB1',
  
11 => 'AES-192-CFB8',
  
12 => 'AES-192-CTR',
  
13 => 'AES-192-ECB',
  
14 => 'AES-192-OFB',
  
15 => 'AES-256-CBC',
  
16 => 'AES-256-CFB',
  
17 => 'AES-256-CFB1',
  
18 => 'AES-256-CFB8',
  
19 => 'AES-256-CTR',
  
20 => 'AES-256-ECB',
  
21 => 'AES-256-OFB',
  
22 => 'AES-256-XTS',
  
23 => 'BF-CBC',
  
24 => 'BF-CFB',
  
25 => 'BF-ECB',
  
26 => 'BF-OFB',
  
27 => 'CAMELLIA-128-CBC',
  
28 => 'CAMELLIA-128-CFB',
  
29 => 'CAMELLIA-128-CFB1',
  
30 => 'CAMELLIA-128-CFB8',
  
31 => 'CAMELLIA-128-ECB',
  
32 => 'CAMELLIA-128-OFB',
  
33 => 'CAMELLIA-192-CBC',
  
34 => 'CAMELLIA-192-CFB',
  
35 => 'CAMELLIA-192-CFB1',
  
36 => 'CAMELLIA-192-CFB8',
  
37 => 'CAMELLIA-192-ECB',
  
38 => 'CAMELLIA-192-OFB',
  
39 => 'CAMELLIA-256-CBC',
  
40 => 'CAMELLIA-256-CFB',
  
41 => 'CAMELLIA-256-CFB1',
  
42 => 'CAMELLIA-256-CFB8',
  
43 => 'CAMELLIA-256-ECB',
  
44 => 'CAMELLIA-256-OFB',
  
45 => 'CAST5-CBC',
  
46 => 'CAST5-CFB',
  
47 => 'CAST5-ECB',
  
48 => 'CAST5-OFB',
  
49 => 'DES-CBC',
  
50 => 'DES-CFB',
  
51 => 'DES-CFB1',
  
52 => 'DES-CFB8',
  
53 => 'DES-ECB',
  
54 => 'DES-EDE',
  
55 => 'DES-EDE-CBC',
  
56 => 'DES-EDE-CFB',
  
57 => 'DES-EDE-OFB',
  
58 => 'DES-EDE3',
  
59 => 'DES-EDE3-CBC',
  
60 => 'DES-EDE3-CFB',
  
61 => 'DES-EDE3-CFB1',
  
62 => 'DES-EDE3-CFB8',
  
63 => 'DES-EDE3-OFB',
  
64 => 'DES-OFB',
  
65 => 'DESX-CBC',
  
66 => 'RC2-40-CBC',
  
67 => 'RC2-64-CBC',
  
68 => 'RC2-CBC',
  
69 => 'RC2-CFB',
  
70 => 'RC2-ECB',
  
71 => 'RC2-OFB',
  
72 => 'RC4',
  
73 => 'RC4-40',
  
74 => 'RC4-HMAC-MD5',
  
75 => 'SEED-CBC',
  
76 => 'SEED-CFB',
  
77 => 'SEED-ECB',
  
78 => 'SEED-OFB',
  
79 => 'aes-128-cbc',
  
80 => 'aes-128-ccm',
  
81 => 'aes-128-cfb',
  
82 => 'aes-128-cfb1',
  
83 => 'aes-128-cfb8',
  
84 => 'aes-128-ctr',
  
85 => 'aes-128-ecb',
  
86 => 'aes-128-gcm',
  
87 => 'aes-128-ofb',
  
88 => 'aes-128-xts',
  
89 => 'aes-192-cbc',
  
90 => 'aes-192-ccm',
  
91 => 'aes-192-cfb',
  
92 => 'aes-192-cfb1',
  
93 => 'aes-192-cfb8',
  
94 => 'aes-192-ctr',
  
95 => 'aes-192-ecb',
  
96 => 'aes-192-gcm',
  
97 => 'aes-192-ofb',
  
98 => 'aes-256-cbc',
  
99 => 'aes-256-ccm',
  
100 => 'aes-256-cfb',
  
101 => 'aes-256-cfb1',
  
102 => 'aes-256-cfb8',
  
103 => 'aes-256-ctr',
  
104 => 'aes-256-ecb',
  
105 => 'aes-256-gcm',
  
106 => 'aes-256-ofb',
  
107 => 'aes-256-xts',
  
108 => 'bf-cbc',
  
109 => 'bf-cfb',
  
110 => 'bf-ecb',
  
111 => 'bf-ofb',
  
112 => 'camellia-128-cbc',
  
113 => 'camellia-128-cfb',
  
114 => 'camellia-128-cfb1',
  
115 => 'camellia-128-cfb8',
  
116 => 'camellia-128-ecb',
  
117 => 'camellia-128-ofb',
  
118 => 'camellia-192-cbc',
  
119 => 'camellia-192-cfb',
  
120 => 'camellia-192-cfb1',
  
121 => 'camellia-192-cfb8',
  
122 => 'camellia-192-ecb',
  
123 => 'camellia-192-ofb',
  
124 => 'camellia-256-cbc',
  
125 => 'camellia-256-cfb',
  
126 => 'camellia-256-cfb1',
  
127 => 'camellia-256-cfb8',
  
128 => 'camellia-256-ecb',
  
129 => 'camellia-256-ofb',
  
130 => 'cast5-cbc',
  
131 => 'cast5-cfb',
  
132 => 'cast5-ecb',
  
133 => 'cast5-ofb',
  
134 => 'des-cbc',
  
135 => 'des-cfb',
  
136 => 'des-cfb1',
  
137 => 'des-cfb8',
  
138 => 'des-ecb',
  
139 => 'des-ede',
  
140 => 'des-ede-cbc',
  
141 => 'des-ede-cfb',
  
142 => 'des-ede-ofb',
  
143 => 'des-ede3',
  
144 => 'des-ede3-cbc',
  
145 => 'des-ede3-cfb',
  
146 => 'des-ede3-cfb1',
  
147 => 'des-ede3-cfb8',
  
148 => 'des-ede3-ofb',
  
149 => 'des-ofb',
  
150 => 'desx-cbc',
  
151 => 'id-aes128-CCM',
  
152 => 'id-aes128-GCM',
  
153 => 'id-aes192-CCM',
  
154 => 'id-aes192-GCM',
  
155 => 'id-aes256-CCM',
  
156 => 'id-aes256-GCM',
  
157 => 'rc2-40-cbc',
  
158 => 'rc2-64-cbc',
  
159 => 'rc2-cbc',
  
160 => 'rc2-cfb',
  
161 => 'rc2-ecb',
  
162 => 'rc2-ofb',
  
163 => 'rc4',
  
164 => 'rc4-40',
  
165 => 'rc4-hmac-md5',
  
166 => 'seed-cbc',
  
167 => 'seed-cfb',
  
168 => 'seed-ecb',
  
169 => 'seed-ofb',
]
示例
#1 openssl_get_cipher_methods  ()
另请参阅
openssl_get_md_methods