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)
print(ret)
if ret[0] == 0:
    crypt_data = ret[1]
    ret = fastcrypto.aes_decode(crypt_data,key,iv)
    print(ret)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fastcrypto, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size fastcrypto-0.0.2-cp36-cp36m-manylinux2014_aarch64.whl (671.5 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp36-cp36m-manylinux2014_x86_64.whl (684.1 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp36-cp36m-win_amd64.whl (56.8 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp37-cp37m-manylinux2014_aarch64.whl (673.0 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp37-cp37m-manylinux2014_x86_64.whl (685.4 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp37-cp37m-win_amd64.whl (56.9 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp38-cp38-manylinux2014_aarch64.whl (666.7 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp38-cp38-manylinux2014_x86_64.whl (676.1 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp38-cp38-win_amd64.whl (57.0 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp39-cp39-manylinux2014_aarch64.whl (668.6 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp39-cp39-manylinux2014_x86_64.whl (677.4 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size fastcrypto-0.0.2-cp39-cp39-win_amd64.whl (56.7 kB) File type Wheel Python version cp39 Upload date Hashes View

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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page