ios如何根据指定的模数和指数实现RSA加密

Birds99 发布于 2016/09/23 18:30
阅读 186
收藏 0

ios如何根据指定的模数和指数实现RSA加密

modulus = "00910de0d41ed32b7e5575c359a7001c0b37e559044229af3c543d63d695ca6d8bf7b789557f5bf1bbd6b50ff9b087eddcbc3d6dbd502b923d1ecba6461940b8818a2f62edb9f2393ec3143b2bae7883de64ec4180682ceb3991b30662a8e639be43a04da4b72ab406bd44bbf90b25c64795cfd11dbcd6c2c285b8e38499ab5911"

exponent = "010001"

对用户名和密码进行RSA加密 

最终加密为 

40fc12650ad999ba39fbcfe9f46c9976946101b2fa2a63e5a53353a818f7c2e657f029f55b555c307fcaa3945a99b617b351d2c04c446556fcc853b70cff1c8f5d34cd6bfadafe6d5c639a25f1d43f69e63d903e9622cbd5b5de7f632af9a4f1f91b9a0c27b60df2d2e6fb2063220a88c8c3c8ffac2e862ba053d2b6630289fe


加载中
返回顶部
顶部