Location:
Search - RSA_to
Search list
Description: 1、使用MIRCL大整数库开发的,支持最高4096位。
2、加密时原文的长度一旦超过密钥长度,就会解密错误。
这里不实现任意长度字串的加密原因有二:
1)。便于观察及测试用
2)。偷懒
3、如果在使用时发现原文和密码不一样的时候,就说明出现了第二点的情况
4、如果在生成素数及密钥的时候,如果原文已经存在,则会自动加密及解密;
但当密钥长度大于1024的时候,则想要加密及解密都需要点击按钮。
现在想到的就这几点了,以后想到了再补。-1, the use of the large integer MIRCL development, support the highest 4096. 2, encryption at the original length exceeding key length, will be declassified wrong. Here is not to achieve arbitrary length of the encrypted string two reasons : 1). Facilitate observation and tests using 2). 3 lazy, if found in the use of the original and a password is not the same time, it reflects the emergence of the second of four points. If the production-number and keys, if the original has been in existence, will be automatically encrypted and decrypted. But key length of more than 1024 when it wants to encryption and decryption require Click the button. Now think of these suggestions, and stop thinking of the future.
Platform: |
Size: 39936 |
Author: 李大叶 |
Hits: