如何使用任何标准算法在Javascript中加密和解密字符串? [英] How to encrypt and decrypt a string in Javascript using any standard Algorithm?

查看:68
本文介绍了如何使用任何标准算法在Javascript中加密和解密字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用任何标准算法在Javascript中加密和解密字符串?

How to encrypt and decrypt a string in Javascript using any standard Algorithm?

推荐答案

一种简单的方法是使用Stanford Javascript加密库 [ ^ ]



此外还有一篇非常有趣的文章,发现于 JavaScript和RSACryptoServiceProvider之间的RSA互操作性 - 表单登录示例 [ ^ ]
One easy way would be to use Stanford Javascript Crypto Library[^]

Also there's a quite interesting article found at RSA Interoperability between JavaScript and RSACryptoServiceProvider - Form Login Example[^]


这篇关于如何使用任何标准算法在Javascript中加密和解密字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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