Skip to content

Commit d6d0320

Browse files
committed
removing unnecessary print statements in basic example
1 parent be6adb4 commit d6d0320

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

examples/src/basic_encryption.py

-5
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
# ANY KIND, either express or implied. See the License for the specific
1212
# language governing permissions and limitations under the License.
1313
"""Example showing basic encryption and decryption of a value already in memory."""
14-
from __future__ import print_function
15-
1614
import aws_encryption_sdk
1715

1816

@@ -35,7 +33,6 @@ def cycle_string(key_arn, source_plaintext, botocore_session=None):
3533
source=source_plaintext,
3634
key_provider=master_key_provider
3735
)
38-
print('Ciphertext: ', ciphertext)
3936

4037
# Decrypt the ciphertext
4138
cycled_plaintext, decrypted_header = aws_encryption_sdk.decrypt(
@@ -55,5 +52,3 @@ def cycle_string(key_arn, source_plaintext, botocore_session=None):
5552
pair in decrypted_header.encryption_context.items()
5653
for pair in encryptor_header.encryption_context.items()
5754
)
58-
59-
print('Decrypted: ', cycled_plaintext)

0 commit comments

Comments
 (0)