--- !ruby/object:RDoc::RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: Generates and sets the key/iv based on a password.
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: "WARNING: This method is only PKCS5 v1.5 compliant when using RC2, RC4-40, or DES with MD5 or SHA1. Using anything else (like AES) will generate the key/iv using an OpenSSL specific method. Use a PKCS5 v2 key generation method instead."
- !ruby/struct:RDoc::Markup::Flow::H 
  :level: 3
  :text: Parameters
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: <tt>salt</tt> must be an 8 byte string if provided. <tt>iterations</tt> is a integer with a default of 2048. <tt>digest</tt> is a Digest object that defaults to 'MD5'
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: A minimum of 1000 iterations is recommended.
full_name: OpenSSL::Cipher#pkcs5_keyivgen
is_singleton: false
name: pkcs5_keyivgen
params: |
  cipher.pkcs5_keyivgen(pass [, salt [, iterations [, digest]]] ) -> nil

visibility: public
