首页
社区
课程
招聘
[求助]Android RSA 利用现有的私钥加密
发表于: 2012-9-17 15:16 7354

[求助]Android RSA 利用现有的私钥加密

2012-9-17 15:16
7354
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,1229BF3F3ED84ABE

Vi2Z4DIIdUlbEtmX1Zx/ZI9A7Sr24QhcbPmQuUJEUdfBUxFXxVHozd0LdF2o9dEW
cZ3mktheSbSccjmFawc/yM2IJEnqjRp+9SRcZ563ax+sTnzTpaPZHN9JEo+VJhrQ
KojzQLJ6g28lfQRZwCwQ8eGUPt35vqWmx/+X6mFnW06oDA5p22XqVpMEGtKmiXtN
Y+wem7caQbhDvdwiCpn5oEjCk9rtvzH/sszPrWGCD2CyDIcDP3zZsxH9ObSCxgQh
JfIZliZMbdhc2GtbBZLwQ8KQdW05o8BFpqeHlEU9ZhW1UYYdMU3ebhG1KP6Shub0
jVdwmVSHCiaJCJgjkhdAjTzLoETjIdM+u7ENqIKkD0nACpJb7YSDEyf7H40DSzYk
kIJRXkfJvim1X9zypoBDIe9LmT1ZnGGNW4/TntSNS6Z9xWClxHmrhjRgtuxbhXUC
ESh2kSx9RJOMHVJrVvZO7fmoSPgVauQxB7634WVAUL23gTMDDLrYhH4zse4i4pNt
eZ2u6Z3c5mCxC+xFDSWKn2N7PNvKUtpg5kaDIByTyPx0cqMIvsBUsg1L8FuX9+xM
1YVV04fG+KbH3W9srdVeToAAj5kus3VZqFXKVK1PLZGgzqURLEVVUzYFiVZ6L4Jw
eaqNhRb5zheaF8CDP4LBwoka+sFNdTaM1ZuxZv2N3HvcKhK0+o70c4+cM0UUOn0z
kexIBBnSFY11NY72Pw5KfEyOXRGYHKWe8o3CzLN1q81Cjb0Wg8vMehI6Erh4P6oY
MlwzWDMnyGVhmEQQHCjMLric9eWNhBi+W/40fSKPpQQ9TvIeXLncguK3RdTLZArM
KPMCcDKeNVgXELBgRAR3a1rxxI+hFMje+fjOviobquiREzyzUPtYCr8HQKvxa/ts
wkwb8lKAqb35aWfwW8YDbqLs78xG+NRrjts+Bt3kNyqKPJTkg95FixJ8MmU2lGQt
mCibXPreGFx8xRWnPh9KQV6CiNH6YelMMbnptW8/KoIurRezD0IIZnZN8sfFVlMj
MSppQngAjN/3tk/28jC4FxqUIkau9ihtinh1zA/6ieYw1lgbJs9pcuJztKmFhrIy
zMeGRmZna5Ts4SoqpqnQypCHCjxQDgEOHrSfdmQERvKn9UEH4O6xLaJgLZvxjuD8
h1m2xSefcm62U4ej77ja6D9aSD9BrcjCnEE1l9FtwT5741LexmKDNtyOojbbMVjG
0z54/CT29zO4IuNKqPAUN07jV4P3FP7MBw489PPyuGxb2PeUrCMiJsHDnv5e7e+w
n25Z97RDaWEJ87NOpV/3ePeOICA2uVJ+wsIhw4HC4M9uJ8VemdmDM4soFsdAzcu+
wXEwaPzndXZMpd+pm4F0lQknH9OR4RNLrUNVlkSdOe1rfkouZ9sL7QUtB7hD1L0Q
MAtob3vW8t+tLxwwIQlXXJB97XCe+SH8GZMoAyLlNN+cih7zEO0RnUsTblKp/cVz
GB9+Fm6XZuz9H5mcj8svncCwFI9ViepETef0E28uPxCm81l1VuQnAy2Ohry7UvPA
hQ0W7XYFkCED47clHI7taUkiZASG2RhIZwjEbbpXjhXAuVL9TVNQm2luR74WLDSV
-----END RSA PRIVATE KEY-----

以上是现有的私钥.怎么转换成私钥对象啊???
http://stackoverflow.com/questions/7037780/convert-php-rsa-publickey-into-android-publickey/12101100#12101100 这是我找的一片文章.请问这样做对么?

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 8
活跃值: (12)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
证书格式是PEM的
2012-9-17 17:07
0
游客
登录 | 注册 方可回帖
返回
//