def secure_match?(token)
      ActiveSupport::SecurityUtils.secure_compare(
        ::Digest::SHA256.hexdigest(token),
        ::Digest::SHA256.hexdigest(verification_token)
      )
    end
def secure_match?(token)
      ActiveSupport::SecurityUtils.secure_compare(
        ::Digest::SHA256.hexdigest(token),
        ::Digest::SHA256.hexdigest(verification_token)
      )
    end
Compare the tokens in a time-constant manner, to mitigate timing attacks.