security/py-tinyaes 1.1.1 DragonFly
Tiny-AES-c wrapper in Python
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- python, security
- Package size
- 26.4 KiB, 70.9 KiB installed
Description
tinyaes is a few lines Cython wrapper for the tiny-AES-c library, a Small portable AES128/192/256 in C.
The library offers a few modes, CTR mode is the only one currently wrapped. Given the C API works modifying a buffer in-place, the wrapper offers:
- CTR_xcrypt_buffer(..) that works on all bytes convertible types, and encrypting a copy of the buffer,
- CTR_xcrypt_buffer_inplace(..) that works on bytearrays only, modifying the buffer in-place.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | security/py-tinyaes | 1.1.1 |
| FreeBSD | security/py-tinyaes | 1.1.2 |
| HardenedBSD | security/py-tinyaes | 1.1.2 |
| GhostBSD | security/py-tinyaes | 1.1.2 |
Install
Binary package:
pkg install py311-tinyaes
From DPorts:
cd /usr/dports/security/py-tinyaes && make install clean
Dependencies
Run dependencies 1
No port depends on this one.