Codebase list libcryptx-perl / 93a6f94
create patch to fix typos Lucas Kanashiro 6 years ago
2 changed file(s) with 486 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Description: Fix typos in POD
1 Author: Lucas Kanashiro <kanashiro@debian.org>
2 Last-Updated: 2017-06-25
3
4 --- a/lib/Crypt/Cipher.pm
5 +++ b/lib/Crypt/Cipher.pm
6 @@ -121,7 +121,7 @@ Crypt::Cipher - Generic interface to cip
7
8 =head1 DESCRIPTION
9
10 -Provides an interface to various symetric cipher algorithms.
11 +Provides an interface to various symmetric cipher algorithms.
12
13 B<BEWARE:> This module implements just elementary "one-block-(en|de)cryption" operation - if you want to
14 encrypt/decrypt generic data you have to use some of the cipher block modes - check for example
15 @@ -142,7 +142,7 @@ Constructor, returns a reference to the
16 # simply any <CNAME> for which there exists Crypt::Cipher::<NAME>
17 # $key = binary key (keysize should comply with selected cipher requirements)
18
19 - ## some of the ciphers (e.g. MULTI2, RC5, SAFER) allows to set number of rounds
20 + ## some of the ciphers (e.g. MULTI2, RC5, SAFER) allows one to set number of rounds
21 $d = Crypt::Cipher->new('MULTI2', $key, $rounds);
22 # $rounds = positive integer (should comply with selected cipher requirements)
23
24 @@ -194,7 +194,7 @@ Returns block size (in bytes) for given
25
26 =head2 default_rounds
27
28 -Returns default number of rounds for given cipher. NOTE: only some cipher (e.g. MULTI2, RC5, SAFER) allows to set number of rounds via new().
29 +Returns default number of rounds for given cipher. NOTE: only some cipher (e.g. MULTI2, RC5, SAFER) allows one to set number of rounds via new().
30
31 $d->default_rounds;
32 #or
33 --- a/lib/Crypt/Cipher/AES.pm
34 +++ b/lib/Crypt/Cipher/AES.pm
35 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
36
37 =head1 NAME
38
39 -Crypt::Cipher::AES - Symetric cipher AES (aka Rijndael), key size: 128/192/256 bits (Crypt::CBC compliant)
40 +Crypt::Cipher::AES - Symmetric cipher AES (aka Rijndael), key size: 128/192/256 bits (Crypt::CBC compliant)
41
42 =head1 SYNOPSIS
43
44 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
45
46 =cut
47
48 -__END__
49 \ No newline at end of file
50 +__END__
51 --- a/lib/Crypt/Cipher/Anubis.pm
52 +++ b/lib/Crypt/Cipher/Anubis.pm
53 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
54
55 =head1 NAME
56
57 -Crypt::Cipher::Anubis - Symetric cipher Anubis, key size: 128-320 bits (Crypt::CBC compliant)
58 +Crypt::Cipher::Anubis - Symmetric cipher Anubis, key size: 128-320 bits (Crypt::CBC compliant)
59
60 =head1 SYNOPSIS
61
62 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
63
64 =cut
65
66 -__END__
67 \ No newline at end of file
68 +__END__
69 --- a/lib/Crypt/Cipher/Blowfish.pm
70 +++ b/lib/Crypt/Cipher/Blowfish.pm
71 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
72
73 =head1 NAME
74
75 -Crypt::Cipher::Blowfish - Symetric cipher Blowfish, key size: 64-448 bits (Crypt::CBC compliant)
76 +Crypt::Cipher::Blowfish - Symmetric cipher Blowfish, key size: 64-448 bits (Crypt::CBC compliant)
77
78 =head1 SYNOPSIS
79
80 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
81
82 =cut
83
84 -__END__
85 \ No newline at end of file
86 +__END__
87 --- a/lib/Crypt/Cipher/CAST5.pm
88 +++ b/lib/Crypt/Cipher/CAST5.pm
89 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
90
91 =head1 NAME
92
93 -Crypt::Cipher::CAST5 - Symetric cipher CAST5 (aka CAST-128), key size: 40-128 bits (Crypt::CBC compliant)
94 +Crypt::Cipher::CAST5 - Symmetric cipher CAST5 (aka CAST-128), key size: 40-128 bits (Crypt::CBC compliant)
95
96 =head1 SYNOPSIS
97
98 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
99
100 =cut
101
102 -__END__
103 \ No newline at end of file
104 +__END__
105 --- a/lib/Crypt/Cipher/Camellia.pm
106 +++ b/lib/Crypt/Cipher/Camellia.pm
107 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
108
109 =head1 NAME
110
111 -Crypt::Cipher::Camellia - Symetric cipher Camellia, key size: 128/192/256 bits (Crypt::CBC compliant)
112 +Crypt::Cipher::Camellia - Symmetric cipher Camellia, key size: 128/192/256 bits (Crypt::CBC compliant)
113
114 =head1 SYNOPSIS
115
116 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
117
118 =cut
119
120 -__END__
121 \ No newline at end of file
122 +__END__
123 --- a/lib/Crypt/Cipher/DES.pm
124 +++ b/lib/Crypt/Cipher/DES.pm
125 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
126
127 =head1 NAME
128
129 -Crypt::Cipher::DES - Symetric cipher DES, key size: 64[56] bits (Crypt::CBC compliant)
130 +Crypt::Cipher::DES - Symmetric cipher DES, key size: 64[56] bits (Crypt::CBC compliant)
131
132 =head1 SYNOPSIS
133
134 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
135
136 =cut
137
138 -__END__
139 \ No newline at end of file
140 +__END__
141 --- a/lib/Crypt/Cipher/DES_EDE.pm
142 +++ b/lib/Crypt/Cipher/DES_EDE.pm
143 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
144
145 =head1 NAME
146
147 -Crypt::Cipher::DES_EDE - Symetric cipher DES_EDE (aka Tripple-DES, 3DES), key size: 192[168] bits (Crypt::CBC compliant)
148 +Crypt::Cipher::DES_EDE - Symmetric cipher DES_EDE (aka Tripple-DES, 3DES), key size: 192[168] bits (Crypt::CBC compliant)
149
150 =head1 SYNOPSIS
151
152 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
153
154 =cut
155
156 -__END__
157 \ No newline at end of file
158 +__END__
159 --- a/lib/Crypt/Cipher/KASUMI.pm
160 +++ b/lib/Crypt/Cipher/KASUMI.pm
161 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
162
163 =head1 NAME
164
165 -Crypt::Cipher::KASUMI - Symetric cipher KASUMI, key size: 128 bits (Crypt::CBC compliant)
166 +Crypt::Cipher::KASUMI - Symmetric cipher KASUMI, key size: 128 bits (Crypt::CBC compliant)
167
168 =head1 SYNOPSIS
169
170 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
171
172 =cut
173
174 -__END__
175 \ No newline at end of file
176 +__END__
177 --- a/lib/Crypt/Cipher/Khazad.pm
178 +++ b/lib/Crypt/Cipher/Khazad.pm
179 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
180
181 =head1 NAME
182
183 -Crypt::Cipher::Khazad - Symetric cipher Khazad, key size: 128 bits (Crypt::CBC compliant)
184 +Crypt::Cipher::Khazad - Symmetric cipher Khazad, key size: 128 bits (Crypt::CBC compliant)
185
186 =head1 SYNOPSIS
187
188 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
189
190 =cut
191
192 -__END__
193 \ No newline at end of file
194 +__END__
195 --- a/lib/Crypt/Cipher/MULTI2.pm
196 +++ b/lib/Crypt/Cipher/MULTI2.pm
197 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
198
199 =head1 NAME
200
201 -Crypt::Cipher::MULTI2 - Symetric cipher MULTI2, key size: 320 bits (Crypt::CBC compliant)
202 +Crypt::Cipher::MULTI2 - Symmetric cipher MULTI2, key size: 320 bits (Crypt::CBC compliant)
203
204 =head1 SYNOPSIS
205
206 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
207
208 =cut
209
210 -__END__
211 \ No newline at end of file
212 +__END__
213 --- a/lib/Crypt/Cipher/Noekeon.pm
214 +++ b/lib/Crypt/Cipher/Noekeon.pm
215 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
216
217 =head1 NAME
218
219 -Crypt::Cipher::Noekeon - Symetric cipher Noekeon, key size: 128 bits (Crypt::CBC compliant)
220 +Crypt::Cipher::Noekeon - Symmetric cipher Noekeon, key size: 128 bits (Crypt::CBC compliant)
221
222 =head1 SYNOPSIS
223
224 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
225
226 =cut
227
228 -__END__
229 \ No newline at end of file
230 +__END__
231 --- a/lib/Crypt/Cipher/RC2.pm
232 +++ b/lib/Crypt/Cipher/RC2.pm
233 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
234
235 =head1 NAME
236
237 -Crypt::Cipher::RC2 - Symetric cipher RC2, key size: 64-1024 bits (Crypt::CBC compliant)
238 +Crypt::Cipher::RC2 - Symmetric cipher RC2, key size: 64-1024 bits (Crypt::CBC compliant)
239
240 =head1 SYNOPSIS
241
242 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
243
244 =cut
245
246 -__END__
247 \ No newline at end of file
248 +__END__
249 --- a/lib/Crypt/Cipher/RC5.pm
250 +++ b/lib/Crypt/Cipher/RC5.pm
251 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
252
253 =head1 NAME
254
255 -Crypt::Cipher::RC5 - Symetric cipher RC5, key size: 64-1024 bits (Crypt::CBC compliant)
256 +Crypt::Cipher::RC5 - Symmetric cipher RC5, key size: 64-1024 bits (Crypt::CBC compliant)
257
258 =head1 SYNOPSIS
259
260 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
261
262 =cut
263
264 -__END__
265 \ No newline at end of file
266 +__END__
267 --- a/lib/Crypt/Cipher/RC6.pm
268 +++ b/lib/Crypt/Cipher/RC6.pm
269 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
270
271 =head1 NAME
272
273 -Crypt::Cipher::RC6 - Symetric cipher RC6, key size: 64-1024 bits (Crypt::CBC compliant)
274 +Crypt::Cipher::RC6 - Symmetric cipher RC6, key size: 64-1024 bits (Crypt::CBC compliant)
275
276 =head1 SYNOPSIS
277
278 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
279
280 =cut
281
282 -__END__
283 \ No newline at end of file
284 +__END__
285 --- a/lib/Crypt/Cipher/SAFERP.pm
286 +++ b/lib/Crypt/Cipher/SAFERP.pm
287 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
288
289 =head1 NAME
290
291 -Crypt::Cipher::SAFERP - Symetric cipher SAFER+, key size: 128/192/256 bits (Crypt::CBC compliant)
292 +Crypt::Cipher::SAFERP - Symmetric cipher SAFER+, key size: 128/192/256 bits (Crypt::CBC compliant)
293
294 =head1 SYNOPSIS
295
296 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
297
298 =cut
299
300 -__END__
301 \ No newline at end of file
302 +__END__
303 --- a/lib/Crypt/Cipher/SAFER_K128.pm
304 +++ b/lib/Crypt/Cipher/SAFER_K128.pm
305 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
306
307 =head1 NAME
308
309 -Crypt::Cipher::SAFER_K128 - Symetric cipher SAFER_K128, key size: 128 bits (Crypt::CBC compliant)
310 +Crypt::Cipher::SAFER_K128 - Symmetric cipher SAFER_K128, key size: 128 bits (Crypt::CBC compliant)
311
312 =head1 SYNOPSIS
313
314 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
315
316 =cut
317
318 -__END__
319 \ No newline at end of file
320 +__END__
321 --- a/lib/Crypt/Cipher/SAFER_K64.pm
322 +++ b/lib/Crypt/Cipher/SAFER_K64.pm
323 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
324
325 =head1 NAME
326
327 -Crypt::Cipher::SAFER_K64 - Symetric cipher SAFER_K64, key size: 64 bits (Crypt::CBC compliant)
328 +Crypt::Cipher::SAFER_K64 - Symmetric cipher SAFER_K64, key size: 64 bits (Crypt::CBC compliant)
329
330 =head1 SYNOPSIS
331
332 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
333
334 =cut
335
336 -__END__
337 \ No newline at end of file
338 +__END__
339 --- a/lib/Crypt/Cipher/SAFER_SK128.pm
340 +++ b/lib/Crypt/Cipher/SAFER_SK128.pm
341 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
342
343 =head1 NAME
344
345 -Crypt::Cipher::SAFER_SK128 - Symetric cipher SAFER_SK128, key size: 128 bits (Crypt::CBC compliant)
346 +Crypt::Cipher::SAFER_SK128 - Symmetric cipher SAFER_SK128, key size: 128 bits (Crypt::CBC compliant)
347
348 =head1 SYNOPSIS
349
350 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
351
352 =cut
353
354 -__END__
355 \ No newline at end of file
356 +__END__
357 --- a/lib/Crypt/Cipher/SAFER_SK64.pm
358 +++ b/lib/Crypt/Cipher/SAFER_SK64.pm
359 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
360
361 =head1 NAME
362
363 -Crypt::Cipher::SAFER_SK64 - Symetric cipher SAFER_SK64, key size: 64 bits (Crypt::CBC compliant)
364 +Crypt::Cipher::SAFER_SK64 - Symmetric cipher SAFER_SK64, key size: 64 bits (Crypt::CBC compliant)
365
366 =head1 SYNOPSIS
367
368 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
369
370 =cut
371
372 -__END__
373 \ No newline at end of file
374 +__END__
375 --- a/lib/Crypt/Cipher/SEED.pm
376 +++ b/lib/Crypt/Cipher/SEED.pm
377 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
378
379 =head1 NAME
380
381 -Crypt::Cipher::SEED - Symetric cipher SEED, key size: 128 bits (Crypt::CBC compliant)
382 +Crypt::Cipher::SEED - Symmetric cipher SEED, key size: 128 bits (Crypt::CBC compliant)
383
384 =head1 SYNOPSIS
385
386 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
387
388 =cut
389
390 -__END__
391 \ No newline at end of file
392 +__END__
393 --- a/lib/Crypt/Cipher/Skipjack.pm
394 +++ b/lib/Crypt/Cipher/Skipjack.pm
395 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
396
397 =head1 NAME
398
399 -Crypt::Cipher::Skipjack - Symetric cipher Skipjack, key size: 80 bits (Crypt::CBC compliant)
400 +Crypt::Cipher::Skipjack - Symmetric cipher Skipjack, key size: 80 bits (Crypt::CBC compliant)
401
402 =head1 SYNOPSIS
403
404 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
405
406 =cut
407
408 -__END__
409 \ No newline at end of file
410 +__END__
411 --- a/lib/Crypt/Cipher/Twofish.pm
412 +++ b/lib/Crypt/Cipher/Twofish.pm
413 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
414
415 =head1 NAME
416
417 -Crypt::Cipher::Twofish - Symetric cipher Twofish, key size: 128/192/256 bits (Crypt::CBC compliant)
418 +Crypt::Cipher::Twofish - Symmetric cipher Twofish, key size: 128/192/256 bits (Crypt::CBC compliant)
419
420 =head1 SYNOPSIS
421
422 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
423
424 =cut
425
426 -__END__
427 \ No newline at end of file
428 +__END__
429 --- a/lib/Crypt/Cipher/XTEA.pm
430 +++ b/lib/Crypt/Cipher/XTEA.pm
431 @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa
432
433 =head1 NAME
434
435 -Crypt::Cipher::XTEA - Symetric cipher XTEA, key size: 128 bits (Crypt::CBC compliant)
436 +Crypt::Cipher::XTEA - Symmetric cipher XTEA, key size: 128 bits (Crypt::CBC compliant)
437
438 =head1 SYNOPSIS
439
440 @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L<
441
442 =cut
443
444 -__END__
445 \ No newline at end of file
446 +__END__
447 --- a/lib/Crypt/Digest.pm
448 +++ b/lib/Crypt/Digest.pm
449 @@ -183,7 +183,7 @@ Or all of them at once:
450
451 =head1 FUNCTIONS
452
453 -Please note that all functions take as its first argument the algoritm name, supported values are:
454 +Please note that all functions take as its first argument the algorithm name, supported values are:
455
456 'CHAES', 'MD2', 'MD4', 'MD5', 'RIPEMD128', 'RIPEMD160',
457 'RIPEMD256', 'RIPEMD320', 'SHA1', 'SHA224', 'SHA256',
458 @@ -379,4 +379,4 @@ Returns the digest encoded as a Base64 U
459
460 =cut
461
462 -__END__
463 \ No newline at end of file
464 +__END__
465 --- a/lib/Crypt/PK/ECC.pm
466 +++ b/lib/Crypt/PK/ECC.pm
467 @@ -1029,7 +1029,7 @@ Import raw public/private key - can load
468 my $public_der = $pk->export_key_der('public');
469
470 Since CryptX-0.36 C<export_key_der> can also export keys in a format
471 -that does not explicitely contain curve parameters but only curve OID.
472 +that does not explicitly contain curve parameters but only curve OID.
473
474 my $private_der = $pk->export_key_der('private_short');
475 #or
476 @@ -1042,7 +1042,7 @@ that does not explicitely contain curve
477 my $public_pem = $pk->export_key_pem('public');
478
479 Since CryptX-0.36 C<export_key_pem> can also export keys in a format
480 -that does not explicitely contain curve parameters but only curve OID.
481 +that does not explicitly contain curve parameters but only curve OID.
482
483 my $private_pem = $pk->export_key_pem('private_short');
484 #or
0 001_fix-typos.patch