cipher.key = string â string
Instance Public methods
Sets the cipher key. To generate a key, you should either use a secure random byte string or, if the key is to be derived from a password, you should rely on PBKDF2 functionality provided by OpenSSL::PKCS5. To generate a secure random-based key, #random_key may be used.
Only call this method after calling #encrypt or #decrypt.
Please login to continue.