我们如何获得密钥对 [英] how can we get the key pair

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

问题描述

我需要用于生成公钥和私钥对的Java代码..你能帮帮我吗?

I need java code for generating public key and private key pair..can u help me

推荐答案

公钥加密不仅由一种算法表示;有很多.请参阅:
http://en.wikipedia.org/wiki/Public-key_cryptography [ http://en.wikipedia.org/wiki/RSA_%28algorithm%29 [ ^ ].

在Java中使用RSA:
http://www.javamex.com/tutorials/cryptography/rsa_encryption.shtml [ ^ ].

—SA
The public-key cryptography is not represented by just one algorithm; there are a number of them. Please see:
http://en.wikipedia.org/wiki/Public-key_cryptography[^].

In particular, you can use RSA:
http://en.wikipedia.org/wiki/RSA_%28algorithm%29[^].

Using RSA in Java:
http://www.javamex.com/tutorials/cryptography/rsa_encryption.shtml[^].

—SA


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

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