method

encrypt

rails latest stable - Class: ActiveRecord::Encryption::Cipher
encrypt(clean_text, key:, deterministic: false)
public

Encrypts the provided text and return an encrypted Message.