What's the best way to encrypt short strings in .NET?

前端 未结 6 1989
醉酒成梦
醉酒成梦 2020-12-06 02:56

My boss wants me to encrypt some information used during data transfer. The individual strings to be encrypted are between eight and twenty characters long. A single passwor

6条回答
  •  没有蜡笔的小新
    2020-12-06 03:21

    TripleDes ?

    You can use the System.Security.Cryptography.TripleDESCryptoServiceProvider

    Small amount of code to encrypy/decrypt... does exactly what it says on the tin :)

提交回复
热议问题