This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

pkcs5_keyivgen

        # OpenSSL::Cipher.pkcs5_keyivgen

(from ruby core)
### Implementation from Cipher
---
    cipher.pkcs5_keyivgen(pass, salt = nil, iterations = 2048, digest = "MD5") -> nil

---

Generates and sets the key/IV based on a password.

**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. This method is
deprecated and should no longer be used. Use a PKCS5 v2 key generation
method from OpenSSL::PKCS5 instead.

### Parameters
*   *salt* must be an 8 byte string if provided.
*   *iterations* is an integer with a default of 2048.
*   *digest* is a Digest object that defaults to 'MD5'


A minimum of 1000 iterations is recommended.



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.