Added magento2 model for encryption.