1 | exports['aes-128-ecb'] = {
|
2 | cipher: 'AES',
|
3 | key: 128,
|
4 | iv: 0,
|
5 | mode: 'ECB',
|
6 | type: 'block'
|
7 | };
|
8 | exports['aes-192-ecb'] = {
|
9 | cipher: 'AES',
|
10 | key: 192,
|
11 | iv: 0,
|
12 | mode: 'ECB',
|
13 | type: 'block'
|
14 | };
|
15 | exports['aes-256-ecb'] = {
|
16 | cipher: 'AES',
|
17 | key: 256,
|
18 | iv: 0,
|
19 | mode: 'ECB',
|
20 | type: 'block'
|
21 | };
|
22 | exports['aes-128-cbc'] = {
|
23 | cipher: 'AES',
|
24 | key: 128,
|
25 | iv: 16,
|
26 | mode: 'CBC',
|
27 | type: 'block'
|
28 | };
|
29 | exports['aes-192-cbc'] = {
|
30 | cipher: 'AES',
|
31 | key: 192,
|
32 | iv: 16,
|
33 | mode: 'CBC',
|
34 | type: 'block'
|
35 | };
|
36 | exports['aes-256-cbc'] = {
|
37 | cipher: 'AES',
|
38 | key: 256,
|
39 | iv: 16,
|
40 | mode: 'CBC',
|
41 | type: 'block'
|
42 | };
|
43 | exports['aes128'] = exports['aes-128-cbc'];
|
44 | exports['aes192'] = exports['aes-192-cbc'];
|
45 | exports['aes256'] = exports['aes-256-cbc'];
|
46 | exports['aes-128-cfb'] = {
|
47 | cipher: 'AES',
|
48 | key: 128,
|
49 | iv: 16,
|
50 | mode: 'CFB',
|
51 | type: 'stream'
|
52 | };
|
53 | exports['aes-192-cfb'] = {
|
54 | cipher: 'AES',
|
55 | key: 192,
|
56 | iv: 16,
|
57 | mode: 'CFB',
|
58 | type: 'stream'
|
59 | };
|
60 | exports['aes-256-cfb'] = {
|
61 | cipher: 'AES',
|
62 | key: 256,
|
63 | iv: 16,
|
64 | mode: 'CFB',
|
65 | type: 'stream'
|
66 | };
|
67 | exports['aes-128-ofb'] = {
|
68 | cipher: 'AES',
|
69 | key: 128,
|
70 | iv: 16,
|
71 | mode: 'OFB',
|
72 | type: 'stream'
|
73 | };
|
74 | exports['aes-192-ofb'] = {
|
75 | cipher: 'AES',
|
76 | key: 192,
|
77 | iv: 16,
|
78 | mode: 'OFB',
|
79 | type: 'stream'
|
80 | };
|
81 | exports['aes-256-ofb'] = {
|
82 | cipher: 'AES',
|
83 | key: 256,
|
84 | iv: 16,
|
85 | mode: 'OFB',
|
86 | type: 'stream'
|
87 | };
|
88 | exports['aes-128-ctr'] = {
|
89 | cipher: 'AES',
|
90 | key: 128,
|
91 | iv: 16,
|
92 | mode: 'CTR',
|
93 | type: 'stream'
|
94 | };
|
95 | exports['aes-192-ctr'] = {
|
96 | cipher: 'AES',
|
97 | key: 192,
|
98 | iv: 16,
|
99 | mode: 'CTR',
|
100 | type: 'stream'
|
101 | };
|
102 | exports['aes-256-ctr'] = {
|
103 | cipher: 'AES',
|
104 | key: 256,
|
105 | iv: 16,
|
106 | mode: 'CTR',
|
107 | type: 'stream'
|
108 | }; |
\ | No newline at end of file |