1

What is the best Python library for hashing Cryptonight hashes and building mining software?

1

1 Answer 1

2

At this time, the best Python library for hashing CryptoNight is still the py-cryptonight, a Python CryptoNight implementation. This library has the crypto stuff in C/C++ (lifted straight from the Monero code base) and compiled into the Python library.

3
  • To be clear, this library is not "fully" Python, the crypto stuff is in C/C++ (lifted straight from the Monero code base) and compiled into the Python library. Also, it is up-to-date, as it has the current CNv2 implemented, so the remark of not being updated for months is misleading.
    – jtgrassie
    Jan 30, 2019 at 12:43
  • My apologies, it actually doesn't support CNv2. I created a PR for it though.
    – jtgrassie
    Feb 8, 2019 at 2:33
  • Anyway, the question is about CN and not CNv2.
    – cialu
    Feb 8, 2019 at 7:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.