This content originally appeared on DEV Community and was authored by Latchu@DevOps
Data States Encryption
Types of Data Encryption
It is highly recommended to encrypt both Data at Rest and Data at Transit
Symmetric Key Encryption
- Symmetric Key Encryption uses same key for both Encryption and Decryption
- Example Encryption Algorithms
- DES – Data Encryption Standard
- Triple DES
- AES – Advanced Encryption Standard
- IDEA - International Data Encryption Algorithm
Advantages
- Security: Algorithms like AES take billions of years to crack using brute-force attacks.
- Speed: Because of its shorter key it is much faster to execute and uses less resources (CPU, Memory) to Encrypt and Decrypt
- Industry adoption and acceptance: Algorithms like AES have become the gold standard of data encryption because of their security and speed benefits and hugely in use industry wide.
- RECOMMENDED for Bulk Data Transfers
Challenges
- How to secure encryption key ?
- How to share encryption key ?
Asymmetric Key Encryption
- Asymmetric Key Encryption uses two keys: Private and Public Keys
- Encrypts data with public key and decrypts with private key
- Example Encryption Algorithms
- RSA: Digital Signature Standard
- DSC: Digital Signature Standard
- DSA: Digital Signature Algorithm
- ECC: Elliptical Curve Cryptography
Advantages
- Private key is not shared. Overall process is more secure when compared to Symmetric key encryption
Disadvantages
- The encryption process is slow
- Resource utilization is very high
- Not recommended for bulk data transfers
Google Cloud - Key Management Service (KMS)
- Cloud KMS is used to centrally manage encryption keys on GCP
- Supports both Symmetric and Asymmetric key encryptions
- Use KMS generated encryption keys in your applications and GCP Services (Compute Engine, Cloud SQL)
- KMS provides an API to encrypt, decrypt or sign data which can be used in our Application Development.
- Key Management Options available for use
- Google-managed encryption key (No configuration required)
- CMEK: Customer-managed encryption key (Manage via Cloud KMS)
- CSEK: Customer-supplied encryption key (Manage outside of Google cloud)
Google-managed encryption key is applied by default
This content originally appeared on DEV Community and was authored by Latchu@DevOps

Latchu@DevOps | Sciencx (2025-08-22T14:09:57+00:00) Part-21: Compute Engine Storage – Key Management Service (Cloud KMS) in Google Cloud Platform (GCP). Retrieved from https://www.scien.cx/2025/08/22/part-21-compute-engine-storage-key-management-service-cloud-kms-in-google-cloud-platform-gcp/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.