padding=

cipher.padding = integer รข integer
Instance Public methods

Enables or disables padding. By default encryption operations are padded using standard block padding and the padding is checked and removed when decrypting. If the pad parameter is zero then no padding is performed, the total amount of data encrypted or decrypted must then be a multiple of the block size or an error will occur.

See EVP_CIPHER_CTX_set_padding for further information.

doc_ruby_on_rails
2015-04-24 22:40:28
Comments
Leave a Comment

Please login to continue.