fastcrypto 加密库, 支持aes加密解密
Project description
fastcrypto aes加密解密库
# -*- coding: utf-8 -*-
import sys
#from fastcrypto import fastcrypto
import fastcrypto
data = bytes([125,2,3,4])
#,key,iv length must 16
key = bytes([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])
iv = bytes([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])
print(fastcrypto)
ret = fastcrypto.aes_encode(data,key,iv)
print(ret)
if ret[0] == 0:
crypt_data = ret[1]
ret = fastcrypto.aes_decode(crypt_data,key,iv)
print(ret)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for fastcrypto-0.0.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90533b402813dcc8036adbebdf23f72e3d18952703c6879a1222b96a08a89fa1 |
|
MD5 | 9c4edcd4785488c5a4fc6df2010a85b6 |
|
BLAKE2b-256 | 104c268b0866429db6f047c7e6bfc55c06ed2e5d623341a0000b38964a8a2503 |
Close
Hashes for fastcrypto-0.0.1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d98655963a00e0966b9a76e6d69106c3b6df129a40689d1d374f32b324bedc12 |
|
MD5 | 9cd715ce15322586cad8166534dd729f |
|
BLAKE2b-256 | 7d74a3c11214aad426ca100808cc859310ce6fe09ede45a676b0661ddcfb5c19 |
Close
Hashes for fastcrypto-0.0.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf4f680fedde87c203cb50a970d7a306c70f9194ae48e3e880593691c25b604e |
|
MD5 | 2775100b12e38470fb73a54847195b9b |
|
BLAKE2b-256 | 86a3eec8700ade1cf4fef8be01b205b6fbade26c03bcb371b21b2e9de9f41c1a |
Close
Hashes for fastcrypto-0.0.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fe515a297ceacb05492b62ef98aaf4e9b98ce9a0e651af3fca9a735fa07e28d |
|
MD5 | 545551c9285f6d5c568e17761f8f40f1 |
|
BLAKE2b-256 | bbf027495efcc1b8f6bbb78254cc6203d8b5262f68217737c3ced477e519c3c8 |
Close
Hashes for fastcrypto-0.0.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8257a7cfd862699511266fd1db2d7771db1b2b143d366e749e188b3118ad91a9 |
|
MD5 | f373f6d3fd93a2e537bb3388ad056a31 |
|
BLAKE2b-256 | f287638fffde0b8e385b481701b04beca52b46de75f3159ff50b1deefcde08e0 |
Close
Hashes for fastcrypto-0.0.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1977b5ae2f5b647b2ad2eca25426f418b7bac4744024a582daae4f16e15af86e |
|
MD5 | a4835161b368a876a766a155247b9b0f |
|
BLAKE2b-256 | 2ff23fbbcaf82ea684e936c1817097dbc59424cc36b21b9f97ccdd37b01cf969 |
Close
Hashes for fastcrypto-0.0.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c6b561a56f50343e290215eaeef910bf325076eec291351849dab7c1337224b |
|
MD5 | 58e43466ed9f29e04b8e34f591c58066 |
|
BLAKE2b-256 | 99d08ea2eae90a57f8968cad4073cd9d57f28722bdac246cec734eae295af477 |
Close
Hashes for fastcrypto-0.0.1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eea42cff88ddcd5513cc0e637a76ab5ff6e6c453bbf16f55719bdb613d2e5aff |
|
MD5 | 73df063614044c03693c8ceec9893fd4 |
|
BLAKE2b-256 | 8ac845f2bb6efa12085a4f39d21c30e8a52119267a1c576b68cbb9ed56866f6e |