密码算法 [英] Cryptography algorithm

查看:216
本文介绍了密码算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为我的应用程序制作了一个简单的许可系统。

I'm making a simple licensing system for my apps.

我不知道加密,但我知道我需要一个算法,包括2键:私人和公开。

I don't know about cryptography, but I know that I need a algorithm that consists of 2 keys: private and public.

我需要使用我的私钥加密一些数据(过期日期和客户电子邮件),然后我的应用程序将使用公共密钥

I need to encrypt some data (expiration date and customer email) using my private key, and then my app will decrypt the data using the public key to compare expiration date.

有没有一个已知的算法可以满足我的需要?

Is there a known algorithm that does what I need?

解决了。帮助类使用dsa avaliable 此处

Problem solved. Helper class to use dsa avaliable Here

推荐答案

查看 RSA 。大多数现代平台将在其标准库中实现RSA。

Check out RSA. Most modern platforms will have implementations of RSA in their standard library.

这篇关于密码算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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