method

generate_iv

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Aes256Gcm
generate_iv(cipher, clear_text) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb, line 87
          def generate_iv(cipher, clear_text)
            if @deterministic
              generate_deterministic_iv(clear_text)
            else
              cipher.random_iv
            end
          end
Register or log in to add new notes.