AES-PKCS7填充加密-vb.net [英] AES-PKCS7 Padding Encryption - vb.net

查看:182
本文介绍了AES-PKCS7填充加密-vb.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.

我必须使用AES加密字符串-VB.NET中的PKCS7填充.

我对加密/解密一无所知,我之前曾问过Google ...但是没有结果..::

我已收到此说明以进行以下操作:
PKCS#7填充字符串由一个字节序列组成,每个字节序列等于所添加的填充字节总数.
以下示例显示了这些模式的工作方式.给定块长8,数据长9,填充八位字节数等于7,数据等于FF FF FF FF FF FF FF FF FF FF:
数据:FF FF FF FF FF FF FF FF FF
PKCS7填充:FF FF FF FF FF FF FF FF FF 07 07 07 07 07 07 07


那你能帮我吗?


谢谢...

Z

Hi.

I have to encrypt a string with AES - PKCS7 Padding in VB.NET.

I don''t know anything about en/decryption and I have asked google before...but without a result.. :(

I have received this description to do that:
The PKCS #7 padding string consists of a sequence of bytes, each of which is equal to the total number of padding bytes added.
The following example shows how these modes work. Given a blocklength of 8, a data length of 9, the number of padding octets equal to 7, and the data equal to FF FF FF FF FF FF FF FF FF:
Data: FF FF FF FF FF FF FF FF FF
PKCS7 padding: FF FF FF FF FF FF FF FF FF 07 07 07 07 07 07 07


So can you help me?


Thanks...

Z

推荐答案

Hmm ..
该主题仍然处于活动状态..
我需要有关此问题的帮助..
有人可以帮我吗?

最好的问候,
Z
Hmm..
This topic is still active..
I need help with this problem..
Can somebody help me, please?

Best Regards,
Z


这篇关于AES-PKCS7填充加密-vb.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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