method

random_key

v2_1_10 - Show latest stable - Class: OpenSSL::Cipher
random_key()
public

Generate, set, and return a random key. You must call cipher.encrypt or cipher.decrypt before calling this method.