PKCS5Padding在C#PKCS5Padding

由网友(倾听り樱花飘落的声音)分享简介:我需要使用DESede PKCS5填充字符串加密。但是C#仅提供了PKCS7填充。所以,我怎么能做到这一点?I need to encrypt a string using DESede pkcs5 padding. However C# only provides PKCS7 padding. So how can...

我需要使用DESede PKCS5填充字符串加密。但是C#仅提供了PKCS7填充。所以,我怎么能做到这一点?

I need to encrypt a string using DESede pkcs5 padding. However C# only provides PKCS7 padding. So how can I achieve this?

推荐答案

林的问题,而是一个快速谷歌没有权力把这个了:http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/13a20d89-7d84-4f7d-8f5c-5ae108a7f5cf/

Im no authority on the matter but a quick google turned this up: http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/13a20d89-7d84-4f7d-8f5c-5ae108a7f5cf/

似乎的7和5填充的ALG。是相同的。

Seems the 7 & 5 padding algs. are the same.

阅读全文

相关推荐

最新文章