ABSTRACT

In response to the problem that more and more account passwords need to be stored and managed safely, this chapter explores a random encryption scheme based on ECC and RSA. The decryption is the inverse process of the encryption. To a certain extent, the scheme in the chapter reduces the pressure of the super password and the degree of security dependence among these account passwords. The chapter describes a pseudo-random number as the select code, which is also called the random code. The random code is either 0 or 1. A random code of 0 means encryption with the RSA algorithm, whereas 1 means the encryption with the ECC algorithm. Each plaintext is numbered, then reused as the serial number of the corresponding private key, and stored in both a dynamic array and the confusing code. After each random encryption, users deserialize their binary file, read the dynamic array, and get the private key.