C#中的ECB块模式加密/解密 [英] ECB block mode encryption/decryption in C#

查看:370
本文介绍了C#中的ECB块模式加密/解密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

need  to use ECB block mode inplace of CBC, and for padding , and PKCS5Padding in place of Pkcs7 in encryption/decryption of password





我的尝试:





What I have tried:

need  to use ECB block mode inplace of CBC, and for padding , and PKCS5Padding in place of Pkcs7 in encryption/decryption of password

推荐答案

对于初学者,永远不要加密密码 - 它是不安全,它比以纯文本存储它们更安全!请参阅此处:密码存储:如何操作。 [ ^ ] - 它是C# ,但如果您的C ++是非本机代码,那么它应该非常明显。
For starters, never encrypt passwords - it's not secure, it's barely safer than storing them in plain text! See here: Password Storage: How to do it.[^] - it's C#, but if your C++ is non-native code then it should be pretty obvious.


这篇关于C#中的ECB块模式加密/解密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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