method

separator_index_for

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ActiveSupport::MessageVerifier
separator_index_for(signed_message) private

No documentation

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

Hide source
# File activesupport/lib/active_support/message_verifier.rb, line 347
      def separator_index_for(signed_message)
        index = signed_message.length - digest_length_in_hex - SEPARATOR_LENGTH
        index unless index.negative? || !separator_at?(signed_message, index)
      end
Register or log in to add new notes.