Skip to main content

rtea

Bring fast TEA cipher to Python. Powered by Rust.

为 Python 带来快速的TEA密码实现

依赖

开发依赖

  1. 一个能跑起来的 Rust,不知道最低是什么版本,但是用新的准没错 你大概需要一个 Nightly 的 Rust
  2. Python 3.7+
  3. requirements-dev.txt 里的 maturin

运行依赖

  1. Python 3.7+

构建

假设环境已经存在满足条件的 Rust 和 Python

  1. 新建一个虚拟环境并激活
  2. 安装开发依赖 pip install -r requirements-dev.txt
  3. 运行 maturin develop [--release] 在 rtea 目录下生成二进制库文件,可直接引入
  4. 或者运行 maturin build [--release] 在 target/wheels 下生成 whl,在 Unix 系统上还可添加 --strip 以减少生成体积

测试

  1. 运行 pytest 同时运行单元测试与速度测试
  2. 运行 cargo test 运行单元测试
  3. 运行 cargo bench 运行速度测试

预编译包

  1. 从右侧 Release 页面获取
  2. 使用 pip 直接从 PyPI 安装

Metadata

Release files for rtea 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rtea 0.3.5
File Size Uploaded Provenance
rtea-0.3.5.tar.gz 12.9 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for rtea 0.3.5
File
rtea-0.3.5-cp37-abi3-win_arm64.whl CPython 3.7 abi3 Windows ARM64 Details
rtea-0.3.5-cp37-abi3-win_amd64.whl CPython 3.7 abi3 Windows x86-64 Details
rtea-0.3.5-cp37-abi3-win32.whl CPython 3.7 abi3 Windows x86-32 Details
rtea-0.3.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 abi3 Linux glibc 2.17+ x86-64 Details
rtea-0.3.5-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl CPython 3.7 abi3 Linux glibc 2.17+ IBM System/390x Details
rtea-0.3.5-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl CPython 3.7 abi3 Linux glibc 2.17+ PowerPC 64-le Details
rtea-0.3.5-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.7 abi3 Linux glibc 2.17+ ARMv7l Details
rtea-0.3.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.7 abi3 Linux glibc 2.17+ ARM64 Details
rtea-0.3.5-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.7 abi3 Linux glibc 2.5+ x86-32 Details
rtea-0.3.5-cp37-abi3-macosx_11_0_arm64.whl CPython 3.7 abi3 macOS 11.0+ ARM64 Details
rtea-0.3.5-cp37-abi3-macosx_10_7_x86_64.whl CPython 3.7 abi3 macOS 10.7+ x86-64 Details

Total release size: 1.8 MB

Release files / rtea-0.3.5.tar.gz

Download URL rtea-0.3.5.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2d881a8943314370abb189e87ff74fc6e4f86c9d2ca259003ecbf0ca5db0c26a
BLAKE2b-256 checksum
How to use checksums
aaa6e815653e138046439445877b2c0e85f3bed0f12dded36412a5a44387720e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-win_arm64.whl

Download URL rtea-0.3.5-cp37-abi3-win_arm64.whl
Size 106.6 kB
Tags CPython 3.7 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
38d61ef0f8e353d1b8645417d49b23cf49c47fe1f4dcdbb74d39716ac2d1b704
BLAKE2b-256 checksum
How to use checksums
23fc5711801538b4b8c7add4b0648110bba458907cd3bf283cb7b810bd89e50a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-win_amd64.whl

Download URL rtea-0.3.5-cp37-abi3-win_amd64.whl
Size 114.3 kB
Tags CPython 3.7 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4064343659e5a27f54adaba1c6bf30607b6b06ae8829653ec8a70310206fd064
BLAKE2b-256 checksum
How to use checksums
cc425c5d1e672a3e4f2210e4440d12cb1ea697c751af3ecc9c0ddd93348b6197
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-win32.whl

Download URL rtea-0.3.5-cp37-abi3-win32.whl
Size 105.5 kB
Tags CPython 3.7 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
abbf5821ee41ae2669cfdb8413d1bc26e0038ba2d28296be5f1699283d2cc46f
BLAKE2b-256 checksum
How to use checksums
7c06475a5955a9eb677283f4e65721bfabf07eb6708ecfd643e692e45cb0fd04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rtea-0.3.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 179.4 kB
Tags CPython 3.7 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
cf995469abdce68b43ed71b25040f3dec82e8c8fe9cf425219e1f81ee718ce43
BLAKE2b-256 checksum
How to use checksums
bc6545d7a6fbc1778a12eb81eeb729ec7f5680688b0c73a8a704d681a1888e66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl

Download URL rtea-0.3.5-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 238.2 kB
Tags CPython 3.7 Linux glibc 2.17+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
3de23cdfae9e0950296d78828dcc2ef2b375cc3b56063d14341cda17a23fe30b
BLAKE2b-256 checksum
How to use checksums
78318be4774ccfb25c08ddb350156b3455be7e9d5038903f0d6fa3bf0c01ac9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL rtea-0.3.5-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 192.3 kB
Tags CPython 3.7 Linux glibc 2.17+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
aeb6359e5b1aa7eabe7645ce6db9ceaa2904a9f1215fbea6cce25c6550348fca
BLAKE2b-256 checksum
How to use checksums
50097d31a92c4c132a8d47fd2d8236106b60c9214626df5fe9a4d46567b5d667
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL rtea-0.3.5-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 170.0 kB
Tags CPython 3.7 Linux glibc 2.17+ ARMv7l abi3
SHA-256 checksum
How to use checksums
4e4c60c40c919acc52645fb0023cb6abe93f326fe7c5d766ddad40c227f414f3
BLAKE2b-256 checksum
How to use checksums
89e4add26de708a24e79e024740d499f76b7eb29a510bc920932d05ed11c6735
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL rtea-0.3.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 168.7 kB
Tags CPython 3.7 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
095e98ed4ca8977fef8b1c5f074096797618dc4a759c40e6d39462b7fdc3ddb8
BLAKE2b-256 checksum
How to use checksums
22d5755daa2a89a4cb4aa26181d2f9399a5baf8aa7b490b7d4b8b8903ec53731
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl

Download URL rtea-0.3.5-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Size 185.3 kB
Tags CPython 3.7 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
0ce09918dac86d834f04ff349429d889457d1e6ab26c6587d1c83d9d562cc437
BLAKE2b-256 checksum
How to use checksums
3779271e11799ae9dc619f86ef1b11eeb26fd46af3f4d2609f2330f736da7897
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-macosx_11_0_arm64.whl

Download URL rtea-0.3.5-cp37-abi3-macosx_11_0_arm64.whl
Size 165.4 kB
Tags CPython 3.7 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
67c085dd5b7d3f8fdf3a0186ddf64945c56b3e786a64787fd2b3b3e6cc8c17e8
BLAKE2b-256 checksum
How to use checksums
4a0580db831ad570ba72d381421e920723184c8423ccc5c2657c64443746b1ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / rtea-0.3.5-cp37-abi3-macosx_10_7_x86_64.whl

Download URL rtea-0.3.5-cp37-abi3-macosx_10_7_x86_64.whl
Size 177.7 kB
Tags CPython 3.7 abi3 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
23f22ba76abea42015587983a3329c6ed9b0a8f0603b6470a61438a82d8b97d0
BLAKE2b-256 checksum
How to use checksums
a0b8b1eac3dc243496041a6b2045da18bc2bc261da2343cf03ba115fdd8e150a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Security for rtea 0.3.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page