class ActiveSupport::MessageVerifier
def separator_index_for(signed_message)
def separator_index_for(signed_message) index = signed_message.length - digest_length_in_hex - SEPARATOR_LENGTH return if index.negative? || signed_message[index, SEPARATOR_LENGTH] != SEPARATOR index end