add two more typos to 001_fix-typos.patch, update to apply cleanly and nitpick on the 'allows to' fix
Damyan Ivanov
6 years ago
3 | 3 | |
4 | 4 | --- a/lib/Crypt/Cipher.pm |
5 | 5 | +++ b/lib/Crypt/Cipher.pm |
6 | @@ -121,7 +121,7 @@ Crypt::Cipher - Generic interface to cip | |
6 | @@ -129,7 +129,7 @@ Crypt::Cipher - Generic interface to cip | |
7 | 7 | |
8 | 8 | =head1 DESCRIPTION |
9 | 9 | |
12 | 12 | |
13 | 13 | B<BEWARE:> This module implements just elementary "one-block-(en|de)cryption" operation - if you want to |
14 | 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> | |
15 | @@ -150,7 +150,7 @@ Constructor, returns a reference to the | |
16 | # simply any <NAME> for which there exists Crypt::Cipher::<NAME> | |
17 | 17 | # $key = binary key (keysize should comply with selected cipher requirements) |
18 | 18 | |
19 | 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 | |
20 | + ## some of the ciphers (e.g. MULTI2, RC5, SAFER) allow one to set number of rounds | |
21 | 21 | $d = Crypt::Cipher->new('MULTI2', $key, $rounds); |
22 | 22 | # $rounds = positive integer (should comply with selected cipher requirements) |
23 | 23 | |
24 | @@ -194,7 +194,7 @@ Returns block size (in bytes) for given | |
24 | @@ -202,7 +202,7 @@ Returns block size (in bytes) for given | |
25 | 25 | |
26 | 26 | =head2 default_rounds |
27 | 27 | |
28 | 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(). | |
29 | +Returns default number of rounds for given cipher. NOTE: only some ciphers (e.g. MULTI2, RC5, SAFER) allow one to set number of rounds via new(). | |
30 | 30 | |
31 | 31 | $d->default_rounds; |
32 | 32 | #or |
446 | 446 | +__END__ |
447 | 447 | --- a/lib/Crypt/Digest.pm |
448 | 448 | +++ b/lib/Crypt/Digest.pm |
449 | @@ -183,7 +183,7 @@ Or all of them at once: | |
449 | @@ -176,7 +176,7 @@ Or all of them at once: | |
450 | 450 | |
451 | 451 | =head1 FUNCTIONS |
452 | 452 | |
455 | 455 | |
456 | 456 | 'CHAES', 'MD2', 'MD4', 'MD5', 'RIPEMD128', 'RIPEMD160', |
457 | 457 | 'RIPEMD256', 'RIPEMD320', 'SHA1', 'SHA224', 'SHA256', |
458 | @@ -379,4 +379,4 @@ Returns the digest encoded as a Base64 U | |
458 | @@ -374,4 +374,4 @@ Returns the digest encoded as a Base64 U | |
459 | 459 | |
460 | 460 | =cut |
461 | 461 | |
482 | 482 | |
483 | 483 | my $private_pem = $pk->export_key_pem('private_short'); |
484 | 484 | #or |
485 | --- a/lib/Crypt/Cipher/IDEA.pm | |
486 | +++ b/lib/Crypt/Cipher/IDEA.pm | |
487 | @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa | |
488 | ||
489 | =head1 NAME | |
490 | ||
491 | -Crypt::Cipher::IDEA - Symetric cipher IDEA, key size: 128 bits (Crypt::CBC compliant) | |
492 | +Crypt::Cipher::IDEA - Symmetric cipher IDEA, key size: 128 bits (Crypt::CBC compliant) | |
493 | ||
494 | =head1 SYNOPSIS | |
495 | ||
496 | @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L< | |
497 | ||
498 | =cut | |
499 | ||
500 | -__END__ | |
501 | \ No newline at end of file | |
502 | +__END__ | |
503 | --- a/lib/Crypt/Cipher/Serpent.pm | |
504 | +++ b/lib/Crypt/Cipher/Serpent.pm | |
505 | @@ -21,7 +21,7 @@ sub default_rounds { Crypt::Cipher::defa | |
506 | ||
507 | =head1 NAME | |
508 | ||
509 | -Crypt::Cipher::Serpent - Symetric cipher Serpent, key size: 128/192/256 bits (Crypt::CBC compliant) | |
510 | +Crypt::Cipher::Serpent - Symmetric cipher Serpent, key size: 128/192/256 bits (Crypt::CBC compliant) | |
511 | ||
512 | =head1 SYNOPSIS | |
513 | ||
514 | @@ -118,4 +118,4 @@ L<Crypt::Mode::CBC|Crypt::Mode::CBC>, L< | |
515 | ||
516 | =cut | |
517 | ||
518 | -__END__ | |
519 | \ No newline at end of file | |
520 | +__END__ |