OpenCryptoProject / JCMathLib

Implementation of mathematical operations with big numbers and elliptic curve points for smart cards with JavaCard platform.
MIT License
85 stars 29 forks source link

Typo in classname in README #8

Closed lzaoral closed 5 years ago

lzaoral commented 5 years ago

The second example of code in readme should use an ECConfig object, instead of OCConfig, therefore the correct code is:

public ECExample() {
        // Pre-allocate all helper structures
        ecc = new ECConfig((short) 256); 
        // Pre-allocate standard SecP256r1 curve and two EC points on this curve
        ...
}
petrs commented 5 years ago

thank you, fixed