| Class | OpenSSL::Cipher::Cipher |
| In: |
openssl/ossl_cipher.c
openssl/lib/openssl/cipher.rb |
| Parent: | Object |
# File openssl/lib/openssl/cipher.rb, line 51 def random_iv str = OpenSSL::Random.random_bytes(self.iv_len) self.iv = str return str end
ruby-doc.org is a community service provided by James Britt and Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.