From 4c6f93457fd20bc1bc76dcd70b7c51cfac60e960 Mon Sep 17 00:00:00 2001 From: tanujdhir <tanujdhir@google.com> Date: Tue, 3 Sep 2019 10:10:38 -0700 Subject: [PATCH] Fix a typo. PiperOrigin-RevId: 266956553 --- python/aead/aead_key_templates.py | 2 +- python/daead/deterministic_aead_key_templates.py | 2 +- python/hybrid/hybrid_key_templates.py | 2 +- python/signature/signature_key_templates.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/aead/aead_key_templates.py b/python/aead/aead_key_templates.py index 7693f6059..3c469502b 100644 --- a/python/aead/aead_key_templates.py +++ b/python/aead/aead_key_templates.py @@ -14,7 +14,7 @@ """Pre-generated KeyTemplate for Aead. -One can use these templates to generate new tink_pb2.Keyset with +One can use these templates to generate a new tink_pb2.Keyset with tink_pb2.KeysetHandle. To generate a new keyset that contains a single aes_eax_pb2.AesEaxKey, one can do: handle = keyset_handle.KeysetHandle(aead_key_templates.AES128_EAX). diff --git a/python/daead/deterministic_aead_key_templates.py b/python/daead/deterministic_aead_key_templates.py index c80a4bfb8..1f68bed23 100644 --- a/python/daead/deterministic_aead_key_templates.py +++ b/python/daead/deterministic_aead_key_templates.py @@ -14,7 +14,7 @@ """Pre-generated KeyTemplate for DeterministicAead. -One can use these templates to generate new tink_pb2.Keyset with +One can use these templates to generate a new tink_pb2.Keyset with tink_pb2.KeysetHandle. To generate a new keyset that contains a single tink_pb2.HmacKey, one can do: handle = keyset_handle.KeysetHandle(aead_key_templates.AES128_EAX). diff --git a/python/hybrid/hybrid_key_templates.py b/python/hybrid/hybrid_key_templates.py index a79a92fa5..11afb192a 100644 --- a/python/hybrid/hybrid_key_templates.py +++ b/python/hybrid/hybrid_key_templates.py @@ -14,7 +14,7 @@ """Pre-generated KeyTemplate for HybridEncryption. -One can use these templates to generate new tink_pb2.Keyset with +One can use these templates to generate a new tink_pb2.Keyset with tink_pb2.KeysetHandle. To generate a new keyset that contains a single tink_pb2.HmacKey, one can do: handle = keyset_handle.KeysetHandle(mac_key_templates.HMAC_SHA256_128BITTAG). diff --git a/python/signature/signature_key_templates.py b/python/signature/signature_key_templates.py index 10915025e..9ddd74743 100644 --- a/python/signature/signature_key_templates.py +++ b/python/signature/signature_key_templates.py @@ -14,7 +14,7 @@ """Pre-generated KeyTemplate for PublicKeySign and PublicKeyVerify. -One can use these templates to generate new tink_pb2.Keyset with +One can use these templates to generate a new tink_pb2.Keyset with tink_pb2.KeysetHandle. To generate a new keyset that contains a single EcdsaPrivateKey, one can do: -- GitLab