Skip to content
Snippets Groups Projects
user avatar
Thai Duong authored
Change-Id: I8c930658fc875538952b21a59892264dad3186af
ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>

GitOrigin-RevId: 5d016e5ce6c41edf7204549bcd39fe3053d84f5c
db0f4e15

Cloud Crypto SDK

An open-source SDK that provides cloud customers with cryptographic functionalities needed to extend key management offering of Cloud KMS.

In particular, Cloud KMS needs support for “Envelope Encryption”, i.e., a client-side encryption of data with user-generated keys protected by KMS encryption: cloud user generates a data encryption key (DEK) locally, encrypts data with DEK, sends DEK to Storky to be encrypted (with a key managed by Storky), and stores encrypted DEK with encrypted data; at a later point user can retrieve encrypted data and DEK, use Storky to decrypt DEK, and use decrypted DEK to decrypt the data. A guiding principles for the design of the SDK are security, simplicity, and resistance to user errors.