Sign Up For Web Hosting Now!
Magento Services
Facebook Twitter Plusone

Magento Encryption Key

The Magento Encryption Key is generated during the Magento Installation. It is used for the encryption and the security storage of the sensitive data in the script's database.

Encryption key

The Magento Encryption Key is kept in the app/etc/local.xml file. You can open it through cPanel->File Manager. You can find more details on how to view the file content in our cPanel tutorial.

The code which you should look for is:

<crypt>
            <key><![CDATA[ENCRYPTION_KEY]]></key>
        </crypt>

The ENCRYPTION_KEY string is replaced by the actual encryption key.

You need it if want to move your store data to a new Magento site. The Encryption key is used to recover the encrypted data.

When you migrate your database content to a new Magento installation, make sure that the encryption key from the existing installation is written in the new web site's local.xml file. Otherwise the encrypted data, stored in the new database will not work.

Previous Next
(c) Copyright 2004-2013 SiteGround. All rights reserved
Magento is a trademark of Varien. SiteGround is not affiliated with or endorsed by the Magento Project or its trademark owners.