Allow changing the padding
--------------------------

                 Key: JRUBY-1324
                 URL: http://jira.codehaus.org/browse/JRUBY-1324
             Project: JRuby
          Issue Type: New Feature
          Components: OpenSSL
            Reporter: Robert Egglestone
            Assignee: Thomas E Enebo
         Attachments: changable_padding.patch

This patch allows you to disable the padding for a cipher, as per Ruby, like so:
cipher = OpenSSL::Cipher::Cipher.new(algorithm)
cipher.padding = 0

It also adds support for these special values:
"PKCS5Padding" (the default), "NoPadding", and "ISO10126Padding"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to