Attempt to decrypt stored if it carries the "enc2:" or "enc:"
prefix, verifying aad for the bound format. If no key is provided but
the value is encrypted, return an error — the caller should not silently
return ciphertext as the token value.
Attempt to encrypt value in the legacy unbound format if a key is
available. If key is None the value is stored as plaintext. New
write paths should use maybe_encrypt_bound.
Attempt to encrypt value with row-identity AAD if a key is available,
returning the stored representation. If key is None the value is
stored as plaintext.