如何使用c#asp.net加密/解密? [英] how encrypt/decrypt using c#asp.net?

查看:53
本文介绍了如何使用c#asp.net加密/解密?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨frnds ....我想加密日期并使用c#asp.net解密日期....

请任何人指导我.....

hi frnds.... i want to encrypt the date and decrypt the date using c# asp.net....
pls anyone guide me .....

推荐答案

加密日期可能有点小,但是......这里有一个例子:使用C#加密和解密数据 [ ^ ]



它取决于你想要使用的日期 - 使用像SHA这样的散列算法可能更明智,因为它们无法逆转。
A date may be a little small for encryption, but...there is an example here: Encrypt and Decrypt Data with C#[^]

It depend what you want to use the date for - it may be more sensible to use a hashing algorithm like SHA instead, because they cannot be reversed.


使用C#中的DES加密/解密字符串 [ ^ ]

使用源代码进行简单的字符串加密和解密 [ ^ ]

加密和解密字符串 [ ^ ]

加密和解密 [ ^ ]
Encrypt/Decrypt String using DES in C#[^]
Simple String Encryption and Decryption with Source Code[^]
Encrypt and Decrypt a String[^]
Encryption and Decryption[^]


这篇关于如何使用c#asp.net加密/解密?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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