Simple string encryption in .NET and Javascript

后端 未结 6 1502
深忆病人
深忆病人 2020-12-05 12:30

I\'m developing an ASP.NET MVC application in which I want to encrypt a short string on the server, using C#, and send it to the client-side.

Then on the client-side

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-05 12:48

    In terms of the simplest thing that could possibly work, it seems that you want a simple form of obfuscation, rather than anything really secure.

    Rot-13 might be enough, provided that you're dealing with an audience with ASCII email addresses. If you need to support Unicode, then you might need something slightly more sophisticated.

提交回复
热议问题