简体   繁体   English

使用AWS KMS加密多个元素

[英]Encrypt multiple elements using AWS KMS

I would like to encrypt credit cards using AWS KMS. 我想使用AWS KMS加密信用卡。

I can encrypt the credit card number and then the exp month name ... but I can't find a way to do that in only one call (right now I have to make a call for every one of them) 我可以先加密信用卡号,然后再加密exp月份的名称...但是我找不到一个方法可以仅通过一个电话来完成此操作(现在我必须为每个电话打一个电话)

Any idea or advice? 有什么想法或建议吗?

What I ended up doing is to create a hash, then serialize it to transaform it into a string. 我最终要做的是创建一个哈希,然后对其进行序列化以将其转换为字符串。 While this string can be encrypted and deserialized on decryption. 虽然此字符串可以加密,也可以在解密时反序列化。 Works well for simple hashes 适用于简单的哈希

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 AWS KMS 加密 Pandas/Spark 数据框中的列 - How to encrypt a column in Pandas/Spark dataframe using AWS KMS 您能否在不使用密钥管理服务 (KMS) 的情况下加密 AWS 服务中的数据? - Can you encrypt data in AWS services without using Key Management Service (KMS)? 如何使用C#SDK使用AWS KMS加密客户端 - How to encrypt client-side with AWS KMS using the C# SDK 是否可以使用 aws-encryption-sdk-python 并使用 KMS 中存在的非对称客户密钥来加密/解密文本? - Is it possible to encrypt/decrypt a text with aws-encryption-sdk-python and using an asymmetric customer key present in KMS? 使用 AWS KMS 加密值 - 我可以使用 UTF8 加密值吗? - Encrypt value using AWS KMS - Can I have encrypted value in UTF8? 如何在列级别使用 AWS KMS 加密 AWS RDS 中的数据? - How to encrypt data in AWS RDS with AWS KMS on the column level? 使用 AWS KMS 的确定性加密 - Deterministic encryption using AWS KMS 使用Amazon KMS加密/解密小型应用程序数据的缺点 - Disadvantage of using Amazon KMS to encrypt / decrypt small application data 是否可以使用 AWS KMS 进行密钥管理,但将密钥保存在内存中以在本地加密/解密(无需进一步调用 api)? - Is it possible to use AWS KMS for key management but keep the keys in memory to encrypt / decrypt locally (without further api calls)? 为什么每次使用 AWS KMS CMK 加密时都会得到不同的字节? - Why am I getting different bytes every time I encrypt with AWS KMS CMK?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM