ZXing可以在Android中使用加密的二维码吗?

发布于 2024-09-25 21:31:21 字数 164 浏览 3 评论 0原文

当前方法使用 AES 加密文件。 目标是使用 AES 加密 QR 交换少量私有数据-代码

The current method uses AES encrypted files.
The goal is to exchange small amounts of private data using AES encrypted QR-codes.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

℉絮湮 2024-10-02 21:31:32

就规范而言,不存在加密的二维码这样的东西。从这个意义上说,不。

不过,理论上您可以在 QR 码中放入您想要的任何字节。这些字节可能恰好是某些数据的加密版本。这对大多数读者来说没有意义,因为它是 QR 码的自定义、非标准使用。

但是您可以轻松修改编码器/解码器以在 Android 上执行此操作,是的。

There's no such thing as an encrypted QR code as far the spec is concerned. In that sense, no.

However you can in theory put whatever bytes you want in a QR code. Those bytes could happen to be the encrypted version of some data. It would not make sense to most readers as it is a custom, non-standard use of QR codes.

But you can easily modify an encoder/decoder to do this on Android, yes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文