UNPKG

2.55 kBJavaScriptView Raw
1exports['aes-128-ecb'] = {
2 cipher: 'AES',
3 key: 128,
4 iv: 0,
5 mode: 'ECB',
6 type: 'block'
7};
8exports['aes-192-ecb'] = {
9 cipher: 'AES',
10 key: 192,
11 iv: 0,
12 mode: 'ECB',
13 type: 'block'
14};
15exports['aes-256-ecb'] = {
16 cipher: 'AES',
17 key: 256,
18 iv: 0,
19 mode: 'ECB',
20 type: 'block'
21};
22exports['aes-128-cbc'] = {
23 cipher: 'AES',
24 key: 128,
25 iv: 16,
26 mode: 'CBC',
27 type: 'block'
28};
29exports['aes-192-cbc'] = {
30 cipher: 'AES',
31 key: 192,
32 iv: 16,
33 mode: 'CBC',
34 type: 'block'
35};
36exports['aes-256-cbc'] = {
37 cipher: 'AES',
38 key: 256,
39 iv: 16,
40 mode: 'CBC',
41 type: 'block'
42};
43exports['aes128'] = exports['aes-128-cbc'];
44exports['aes192'] = exports['aes-192-cbc'];
45exports['aes256'] = exports['aes-256-cbc'];
46exports['aes-128-cfb'] = {
47 cipher: 'AES',
48 key: 128,
49 iv: 16,
50 mode: 'CFB',
51 type: 'stream'
52};
53exports['aes-192-cfb'] = {
54 cipher: 'AES',
55 key: 192,
56 iv: 16,
57 mode: 'CFB',
58 type: 'stream'
59};
60exports['aes-256-cfb'] = {
61 cipher: 'AES',
62 key: 256,
63 iv: 16,
64 mode: 'CFB',
65 type: 'stream'
66};
67exports['aes-128-cfb8'] = {
68 cipher: 'AES',
69 key: 128,
70 iv: 16,
71 mode: 'CFB8',
72 type: 'stream'
73};
74exports['aes-192-cfb8'] = {
75 cipher: 'AES',
76 key: 192,
77 iv: 16,
78 mode: 'CFB8',
79 type: 'stream'
80};
81exports['aes-256-cfb8'] = {
82 cipher: 'AES',
83 key: 256,
84 iv: 16,
85 mode: 'CFB8',
86 type: 'stream'
87};
88exports['aes-128-cfb1'] = {
89 cipher: 'AES',
90 key: 128,
91 iv: 16,
92 mode: 'CFB1',
93 type: 'stream'
94};
95exports['aes-192-cfb1'] = {
96 cipher: 'AES',
97 key: 192,
98 iv: 16,
99 mode: 'CFB1',
100 type: 'stream'
101};
102exports['aes-256-cfb1'] = {
103 cipher: 'AES',
104 key: 256,
105 iv: 16,
106 mode: 'CFB1',
107 type: 'stream'
108};
109exports['aes-128-ofb'] = {
110 cipher: 'AES',
111 key: 128,
112 iv: 16,
113 mode: 'OFB',
114 type: 'stream'
115};
116exports['aes-192-ofb'] = {
117 cipher: 'AES',
118 key: 192,
119 iv: 16,
120 mode: 'OFB',
121 type: 'stream'
122};
123exports['aes-256-ofb'] = {
124 cipher: 'AES',
125 key: 256,
126 iv: 16,
127 mode: 'OFB',
128 type: 'stream'
129};
130exports['aes-128-ctr'] = {
131 cipher: 'AES',
132 key: 128,
133 iv: 16,
134 mode: 'CTR',
135 type: 'stream'
136};
137exports['aes-192-ctr'] = {
138 cipher: 'AES',
139 key: 192,
140 iv: 16,
141 mode: 'CTR',
142 type: 'stream'
143};
144exports['aes-256-ctr'] = {
145 cipher: 'AES',
146 key: 256,
147 iv: 16,
148 mode: 'CTR',
149 type: 'stream'
150};
151exports['aes-128-gcm'] = {
152 cipher: 'AES',
153 key: 128,
154 iv: 12,
155 mode: 'GCM',
156 type: 'auth'
157};
158exports['aes-192-gcm'] = {
159 cipher: 'AES',
160 key: 192,
161 iv: 12,
162 mode: 'GCM',
163 type: 'auth'
164};
165exports['aes-256-gcm'] = {
166 cipher: 'AES',
167 key: 256,
168 iv: 12,
169 mode: 'GCM',
170 type: 'auth'
171};
\No newline at end of file