Change
Magento\EncryptionKey\Model\ResourceModel\Key\Change
What it does
This class handles the encryption key rotation process in Magento 2 by re-encrypting sensitive data stored in the database.
Developers would use this when needing to change the encryption key for security purposes, which automatically re-encrypts all encrypted configuration values and credit card numbers.
The class manages this as a single database transaction to ensure data integrity.
Public Methods
- changeEncryptionKey()