

The detail of function will be talked about later.Īs I said before, it converts a polynomial over to a integer. Function converts a polynomial over to a integer whose bit length would not larger than 15 * 17 = 255. The dot in refers to the elliptic curve point multiplication on over. Now we have PrivateKey, random number, hash, order and base point. In my code I use a uint64_t array to store it.Ģ.1.2 The Generation of Singnature and PublicKey Let be base point that will be used during signature.

The elliptic curve it uses is over a composite finite field where the primitive polynomial of base finite field is: WinRAR uses ECC (Elliptic-curve Cryptography) to do signature.The following will talk about the detail of the signature algorithm that WinRAR uses and how WinRAR process the user's name and his/her license type. Save the result to "rarreg.key" and add some header info, then a license file is generated. WinRAR uses a signature algorithm, which is a variant of Chinese SM2 digital signature algorithm, to process the user's name and the license type he/she got. This repository will tell you how WinRAR license file "rarreg.key" is generated. If you want to use it, you should pay to RARLAB and then you will get a license file named "rarreg.key". It can create and view archives in RAR or ZIP file formats and unpack numerous archive file formats.

WinRAR is a trialware file archiver utility for Windows, developed by Eugene Roshal of win.rar GmbH.
