Codebase list libcryptx-perl / 4a8a259
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
1 changed file(s) with 44 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
33
44 --- a/lib/Crypt/Cipher.pm
55 +++ 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
77
88 =head1 DESCRIPTION
99
1212
1313 B<BEWARE:> This module implements just elementary "one-block-(en|de)cryption" operation - if you want to
1414 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>
1717 # $key = binary key (keysize should comply with selected cipher requirements)
1818
1919 - ## 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
2121 $d = Crypt::Cipher->new('MULTI2', $key, $rounds);
2222 # $rounds = positive integer (should comply with selected cipher requirements)
2323
24 @@ -194,7 +194,7 @@ Returns block size (in bytes) for given
24 @@ -202,7 +202,7 @@ Returns block size (in bytes) for given
2525
2626 =head2 default_rounds
2727
2828 -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().
3030
3131 $d->default_rounds;
3232 #or
446446 +__END__
447447 --- a/lib/Crypt/Digest.pm
448448 +++ 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:
450450
451451 =head1 FUNCTIONS
452452
455455
456456 'CHAES', 'MD2', 'MD4', 'MD5', 'RIPEMD128', 'RIPEMD160',
457457 '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
459459
460460 =cut
461461
482482
483483 my $private_pem = $pk->export_key_pem('private_short');
484484 #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__