neva256-native — NEVA-256 Rust accelerator
Native (Rust/PyO3) backend for the neva256
Python package. Bit-exact with the TypeScript and pure-Python implementations,
roughly 1000× faster than pure Python, with the GIL released during compute.
⚠️ EKSPERIMENTAL — NEVA belum pernah dianalisis kriptografer. Jangan pakai untuk data rahasia sungguhan; gunakan AES-256-GCM/libsodium.
Instalasi
Biasanya tidak perlu dipasang manual — cukup:
pip install neva256[fast]
atau:
pip install neva256-native
Paket Python neva256 otomatis memakai backend native ini bila tersedia dan
jatuh kembali ke pure Python kalau tidak.
Pemakaian langsung
from neva256_native import NativeCipher
c = NativeCipher(b"\x00" * 32, b"\x01" * 16)
blob = c.encrypt_bytes(b"halo")
assert c.decrypt_bytes(blob, True) == b"halo"
Build dari sumber
Butuh Rust toolchain:
pip install maturin
maturin build --release # wheel untuk platform ini
maturin develop --release # install ke venv aktif
Test kompatibilitas
Test parity (native == pure Python) ada di ../tests/test_neva.py.
Metadata
Release files for neva256-native 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| neva256_native-0.1.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neva256_native-0.1.0-cp312-cp312-manylinux_2_34_aarch64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.34+ ARM64 | Details |
Total release size: 231.0 kB
Release files / neva256_native-0.1.0.tar.gz
| Download URL | neva256_native-0.1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efb2c1341c0f665bba45d78e171acde2ded198ca7c0bd158adf17d44f8dff2a1
|
|
BLAKE2b-256 checksum How to use checksums |
ea2e4ca60135e65359fdb0cc592bec4d0c0378dd7076fa82b3a70e8d720bf5fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / neva256_native-0.1.0-cp312-cp312-manylinux_2_34_aarch64.whl
| Download URL | neva256_native-0.1.0-cp312-cp312-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 225.2 kB |
| Tags | CPython 3.12 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
7f6ac9a8a6965e9d61de7578f0e5873751f5edf821817d10c9be719d511e39f3
|
|
BLAKE2b-256 checksum How to use checksums |
b4ad26a4567645b865c8707af4895ed2f92fd3dd3e1b851a8104953ff432f083
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|