goupan
2024-04-03 5506e9a45e717ffcb67ec313b5a4e8206d9b3a39
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package cn.stylefeng.roses.kernel.security.request.encrypt.holder;
 
import cn.hutool.crypto.asymmetric.RSA;
import cn.stylefeng.roses.kernel.security.request.encrypt.constants.EncryptionConstants;
 
/**
 * 用于存储RSA实例
 *
 * @author luojie
 * @date 2021/6/4 08:58
 */
public class EncryptionRsaHolder {
 
    public static RSA STATIC_RSA = new RSA(EncryptionConstants.PRIVATE_KEY, EncryptionConstants.PUBLIC_KEY);
 
}