instance method check_key_length

Ruby on Rails 7.2.3

Since v6.1.7.10 Private

Available in: v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

check_key_length()

No documentation comment.

Source
# File activesupport/lib/active_support/encrypted_file.rb, line 129
      def check_key_length
        raise InvalidKeyLengthError if key&.length != self.class.expected_key_length
      end

Defined in activesupport/lib/active_support/encrypted_file.rb line 129 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::EncryptedFile

Type at least 2 characters to search.

↑↓ navigate · open · esc close