Giter Club home page Giter Club logo

Comments (5)

hohl avatar hohl commented on July 18, 2024

No it isn't wrapped yet. But I think it's important too. I've added it on the top of my ToDo list.

On 08.05.2014, at 02:31, Marcin Krzyzanowski [email protected] wrote:

I can't find it, is it wrapped already?


Reply to this email directly or view it on GitHub.

from mihcrypto.

hohl avatar hohl commented on July 18, 2024

Hope, I've covered all the important stuff. Feel free to rate the class interface design or to recommend any other enhancements.

I also decided to name the class MIHBigInteger since it describes it better what the class does. MIHBigNumber have been my first idea since it is already called BIGNUM in OpenSSL, but I thought this may cause confusion since NSNumber can store any kind of number and this class is only capable of storing any-size integers.

from mihcrypto.

krzyzanowskim avatar krzyzanowskim commented on July 18, 2024

thx.

from mihcrypto.

krzyzanowskim avatar krzyzanowskim commented on July 18, 2024

I would suggest use BN_clean_free in place of BN_free, it's allways better to have it cleaned this way I think. The same with malloc vs calloc, I suggest calloc (zeroing allocated memory).

Regards

from mihcrypto.

hohl avatar hohl commented on July 18, 2024

Guess you're right. Especially when dealing with private keys or other sensitive data it would be better to get everything cleared before releasing the memory.

from mihcrypto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.