Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Key Management Service
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Keys
    • Key version
    • Data encryption
  • Concepts
    • Overview
    • Keys
    • Key version
    • Encryption
    • Envelope encryption
    • Key consistency
    • Quotas and limits
  • Use cases
    • All use cases
    • Data encryption
      • Which encryption method should I choose?
      • Encrypting data using the Yandex.Cloud CLI and API
      • Encrypting data using the Yandex.Cloud SDK
      • Encrypting data using the AWS Encryption SDK
      • Encrypting data using Google Tink
    • Encrypting secrets in Managed Service for Kubernetes
    • KMS key management with Hashicorp Terraform
    • Encrypting secrets in Hashicorp Terraform
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • SymmetricCryptoService
      • SymmetricKeyService
      • OperationService
    • REST
      • Overview
      • SymmetricCrypto
        • Overview
        • decrypt
        • encrypt
        • generateDataKey
        • reEncrypt
      • SymmetricKey
        • Overview
        • cancelVersionDestruction
        • create
        • delete
        • get
        • list
        • listAccessBindings
        • listOperations
        • listVersions
        • rotate
        • scheduleVersionDestruction
        • setAccessBindings
        • setPrimaryVersion
        • update
        • updateAccessBindings
  • Questions and answers
  1. Use cases
  2. Data encryption
  3. Which encryption method should I choose?

Which encryption method should I choose?

    The table below compares encryption using Yandex.Cloud tools (CLI, API, and SDK) and other libraries (AWS Encryption SDK and Google Tink). Take a look at the table and choose the most suitable method.

    Feature API CLI SDK Google Tink AWS Encryption SDK
    Easy authentication
    Unlimited size of plaintext for encryption
    Stream encryption

    We recommend encrypting large amounts of data through the AWS Encryption SDK and Google Tink, since they use envelope encryption.

    You can also implement the envelope encryption algorithm yourself using the Yandex.Cloud API or SDK based on cryptographic methods provided by KMS.

    Warning

    In this case, you should consider all implementation features of envelope encryption.

    Language
    Careers
    Privacy policy
    Terms of use
    © 2021 Yandex.Cloud LLC