Ruby latest stable (v1_9_3_392) - 0 notes - Class: Cipher
padding=(p1) public

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.

Show source
Register or log in to add new notes.