Math Examples
Home Math Examples Register Links Cryptoanalysis Française Deutsche

 

3x3
8x8
32-Bit ECB 

The 3x3 and 8x8 matrix examples generate the public and private keys, and is the basic algorithm behind CPK. They are created from Mathcad as a HTML file (with imbedded "JPEG" images), which does not require Mathcad to display. The 3x3 example is the simplest form of CPK and is provided to help cryptoanalysis find suitable attacks. Results from cryptoanalysis on the 3x3 will help evaluate different modifications to CPK.

To download the actual Mathcad examples, which requires Mathcad, click here. This will allow you to experiment with the algorithm. 

The 32-Bit ECB example of CPK is designed to show how one set of Public and Private Keys can encrypt and decrypt four numbers. It was designed to obscure the algorithm and the keys by throwing in various mathematical techniques based on the users key. This increases the security, and at the same time, reduces the need for larger matrices. As a result of using smaller matrices, CPK is much faster and efficient since extended precision math is not needed. In this example, two cascaded 4x4 matrices were used, though in a production version larger matrices will be used. This is how CPK will generally look like in a production environment which will also enable the use of digital signatures. Other techniques will be added in a production version, such as OAEP and compression, based on cryptoanalysis.

Hit Counter

 

3x3 ] 8x8 ] 32-Bit ECB ]
Last modified: February 26, 2001