Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Set Up and Maintain Your Salesforce Organization
Differences Between Classic Encryption and Shield Platform Encryption

Differences Between Classic Encryption and Shield Platform Encryption

Shield Platform Encryption offers two paths toward encrypting data: Field-Level Encryption and Database Encryption. Both offer control over key material and encrypt a broader range of data than Classic Encryption. Each Shield Platform Encryption option offers different data coverage, key management options, and support for functionality such as filtering and sorting. Use the comparison table in this article to help you decide which option best meets your encryption requirements.

Required Editions

Available in both Salesforce Classic (not available in all orgs) and Lightning Experience.
Available in: Enterprise, Performance, and Unlimited Editions with the Salesforce Shield or Shield Platform Encryption licenses.
Available for free in Developer Edition.
Note
Note This content relates to Shield Platform Encryption. Read about implementing field-level encryption using Shield Extension in Own from Salesforce.
Feature Classic Encryption Field-Level Encryption Database Encryption
Pricing Included in base user license Additional fee applies Additional fee applies
Encryption at Rest Checkmark Checkmark Checkmark
Native Solution (No Hardware or Software Required) Checkmark Checkmark Checkmark
Encryption Algorithm 128-bit Advanced Encryption Standard (AES) 256-bit Advanced Encryption Standard (AES CBC) 256-bit Advanced Encryption Standard (AES GCM)
HSM-based Key Derivation Crossmark Checkmark Checkmark
Manage Encryption Keys Permission Crossmark Checkmark Checkmark
Generate Keys Checkmark Checkmark Checkmark
Store Encryption Keys Outside of Salesforce Crossmark Checkmark Crossmark
Export, Import, and Destroy Keys Checkmark Checkmark Crossmark
Advanced Key Options Crossmark BYOK, Cache-only Keys, External Key Management BYOK
PCI-DSS L1 Compliance Checkmark Checkmark Checkmark
Masking Checkmark CrossmarkNo (Why Isn’t my Encrypted Data Masked?) CrossmarkNo (Why Isn’t my Encrypted Data Masked?)
Mask Types and Characters Checkmark Crossmark Crossmark
View Encrypted Data Permission Required to Read Encrypted Field Values Checkmark Crossmark Crossmark
Encrypted Standard Fields Crossmark

Checkmark

Limited (What Standard Fields Can You Encrypt?)

Checkmark

All standard fields

Encrypted Attachments, Files, and Content Crossmark Checkmark Checkmark
Encrypted Custom Fields Dedicated custom field type, limited to 175 characters

Checkmark

Limited (What Custom Fields Can You Encrypt?)

Checkmark

All custom fields

Encrypt Existing Fields for Supported Custom Field Types Crossmark Checkmark Checkmark
Encrypt Custom Metadata and Apex Crossmark Crossmark Checkmark
Search, Filters, and Queries Crossmark

Checkmark

UI, partial search, lookups, and certain SOSL queries on fields encrypted with the deterministic encryption scheme

Checkmark

All SOSL and SOQL queries except on fields also encrypted with field-level encryption

Sorting Crossmark Crossmark

Checkmark

Except on fields also encrypted with field-level encryption

Encrypt the Entire Database Including Standard and Custom Fields, Metadata, and Apex Crossmark Crossmark Checkmark
API Access Checkmark Checkmark Checkmark
Available in Workflow Rules and Workflow Field Updates Crossmark Checkmark Checkmark
Available in Approval Process Entry Criteria and Approval Step Criteria Crossmark Checkmark Checkmark
 
Loading
Salesforce Help | Article