for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* BaconPdf
*
* @link http://github.com/Bacon/BaconPdf For the canonical source repository
* @copyright 2015 Ben Scholzen (DASPRiD)
* @license http://opensource.org/licenses/BSD-2-Clause Simplified BSD License
*/
namespace Bacon\Pdf\Encryption;
class Pdf14Encryption extends Pdf11Encryption
{
* {@inheritdoc}
protected function writeAdditionalEncryptDictionaryEntries(PdfWriter $pdfWriter)
$pdfWriter->writeName('Length');
$pdfWriter->writeNumber(128);
}
protected function getRevision()
return 3;
protected function getAlgorithm()
return 2;
protected function getKeyLength()
return 128;