Skip to main content

fastcrypto 加密库, 支持aes加密解密"

Project description

fastcrypto 加密库, 支持aes加密解密"

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])

ret = fastcrypto.aes_encode(data,key,iv)
if ret[0] == 0:
    crypt_data = ret[1]
    ret = fastcrypto.aes_decode(crypt_data,key,iv)

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

fastcrypto-0.0.2-cp310-cp310-win_amd64.whl (56.3 kB view hashes)

Uploaded cp310

fastcrypto-0.0.2-cp39-cp39-win_amd64.whl (56.7 kB view hashes)

Uploaded cp39

fastcrypto-0.0.2-cp38-cp38-win_amd64.whl (57.0 kB view hashes)

Uploaded cp38

fastcrypto-0.0.2-cp37-cp37m-win_amd64.whl (56.9 kB view hashes)

Uploaded cp37

fastcrypto-0.0.2-cp36-cp36m-win_amd64.whl (56.8 kB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page