class ActiveSupport::MessageEncryptor

def decrypt_and_verify(data, purpose: nil, **)

Experimental RBS support (using type sampling data from the type_fusion project).

def decrypt_and_verify: (*Array[String] args, on_rotation: Proc, **Hash options) -> untyped

This signature was generated using 1 sample from 1 application.

avoid padding attacks. Reference: https://www.limited-entropy.com/padding-oracle-attacks/.
Decrypt and verify a message. We need to verify the message in order to
def decrypt_and_verify(data, purpose: nil, **)
  _decrypt(verifier.verify(data), purpose)
end