![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
cryptomite
is a modular, extensible high-level Python library
of randomness extractors, created by Quantinuum's Quantum Cryptography team.
At a high level, the library offers state-of-the-art randomness extractors that are easy to use, optimized for performance and numerically precise
providing a trade-off of features that suit numerous practical use cases. Find more information in our accompanying paper.
For additional examples of usage and guidance on getting started with Cryptomite, see our related blog post
and repository documentation.
The library is available for non-commercial use only; see the license for details.
The performance-critical parts of the library (e.g. the number theoretic transform) are implemented in C++, while the rest of the library (e.g. parameter estimation) is implemented in Python for accessibility and ease of installation.
The package is available for Python 3.8 and higher on Mac, Windows and Linux. To install, type:
pip install cryptomite
from cryptomite.trevisan import Trevisan
from random import randint
n, m, max_eps = 1000, 200, 0.01
ext = Trevisan(n, m, max_eps)
input_bits = [randint(0, 1) for _ in range(n)]
seed_bits = [randint(0, 1) for _ in range(ext.ext.get_seed_length())]
output_bits = ext.extract(input_bits, seed_bits)
To build the docs, run
cd docs
pip install -r requirements.txt
make clean
make html
Install pytest
, then run pytest test
.
To run the C++ tests, run
cmake .
make
test/runTest
If you use cryptomite
in your research, please cite the accompanying paper:
@article{Foreman2025cryptomite,
doi = {10.22331/q-2025-01-08-1584},
url = {https://doi.org/10.22331/q-2025-01-08-1584},
title = {Cryptomite: {A} versatile and user-friendly library of randomness extractors},
author = {Foreman, Cameron and Yeung, Richie and Edgington, Alec and Curchod, Florian J.},
journal = {{Quantum}},
issn = {2521-327X},
publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
volume = {9},
pages = {1584},
month = jan,
year = {2025}
}
FAQs
An awesome extractor library
We found that cryptomite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.