Method: Chef::EncryptedDataBagItem::Encryptor::Version3Encryptor#openssl_encryptor
- Defined in:
- lib/chef/encrypted_data_bag_item/encryptor.rb
#openssl_encryptor ⇒ Object
Generates (and memoizes) an OpenSSL::Cipher object and configures it for the specified iv and encryption key using AEAD
202 203 204 205 206 207 208 |
# File 'lib/chef/encrypted_data_bag_item/encryptor.rb', line 202 def openssl_encryptor @openssl_encryptor ||= begin encryptor = super encryptor.auth_data = "" encryptor end end |