java.lang.Object
com.codingapi.springboot.framework.crypto.RSA
-
字段详细资料
-
KEY_ALGORITHM
- 另请参阅:
-
-
构造器详细资料
-
RSA
-
RSA
-
RSA
-
RSA
-
RSA
-
-
方法详细资料
-
generateKey
Generate key which contains a pair of privae and public key using 2048 bytes- 返回:
- key pair
- 抛出:
NoSuchAlgorithmException
-
getPrivateKey
public byte[] getPrivateKey() -
getPublicKey
public byte[] getPublicKey() -
encrypt
-
decrypt
-