TurboPower LockBox 3:AES128和填充ISO 10126 [英] TurboPower LockBox 3: AES128 and padding ISO 10126

查看:214
本文介绍了TurboPower LockBox 3:AES128和填充ISO 10126的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这是一个撤销的标准.尽管如此,客户还是想要它(我们知道谁永远是对的).那么,我该怎么做呢?我该如何选择ISO 10126填充进行AES128加密?

I know this is a withdrawn standard. Nevertheless, the customer wants it (and we know who's always right). So, how do I do it? Ho can I choose ISO 10126 padding for an AES128 encryption?

使用的LB版本是3.4.1(我没有时间/知识来修复要与XE2一起运行的最新版本)

The LB version in use is 3.4.1 (I didn't have the time/knowledge to fix the latest release to run with XE2)

推荐答案

(1)您可以滚动自己的填充.如果滚动自己的填充以使消息大小恰好是分组密码的倍数,则TPLB3将不会尝试添加任何其他填充.

(1) You can roll your own padding. If you roll your own padding to make the message size an exact multiple of block cipher, TPLB3 will not try to add any additional padding.

(2)对于大多数链接模式,TPLB3将自动添加盐.通常这是一件好事,但是如果不需要它,则可以删除该选项.

(2) For most chaining modes, TPLB3 will automatically add salt. This is normally a good thing, but if you need it without, you can remove the option for it.

(3)我维护3.5.0版,您可以在此处找到

(3) I maintain version 3.5.0, which you can find here

http://lockbox.seanbdurkin.id.au/Grok+TurboPower+LockBox

与3.4.1相比,单位名称已更改很多,但代码没有更改.

Compared to 3.4.1, the unit names have changed a lot, but the code has not.

(4)如果您需要一个可行的示例,请发布您的KAT.

(4) If you need a working example, please post your KAT.

这篇关于TurboPower LockBox 3:AES128和填充ISO 10126的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆