sergot / openssl

OpenSSL bindings for Perl 6
MIT License
14 stars 31 forks source link

proposed support for aes128 and aes192 encryption #28

Closed dwarring closed 8 years ago

dwarring commented 8 years ago

This being use in https://github.com/p6-pdf/perl6-PDF-Tools/blob/openssl-crypt/lib/PDF/Storage/Crypt.pm for AES128 encrypted PDF's.

sergot commented 8 years ago

nice! thanks a lot for your contribution! :)

ugexe commented 8 years ago

Multi sub required params should be ':$var! where *.so' so subname (:!var) isn't misinterpreted

dwarring commented 8 years ago

@ugexe I've kept it consistent with current behavior. both $.encrypt(..., :aes256) and $.encrypt( ..., :!aes256) were already selecting AES 256 encryption prior to this PR.