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)
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
Built Distributions
File details
Details for the file fastcrypto-0.0.3-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 60.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.28.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93e8f29a79c3929cf86f2c42ac279b81c20976b803826f1bcb76b348f40c7797 |
|
MD5 | 7e0a67ce654ee3e1d36b3ba3745daab7 |
|
BLAKE2b-256 | ba1d4d364f34285a42dc61a249eb9c15610600257030f53342dfe3f2176eb84d |
File details
Details for the file fastcrypto-0.0.3-cp312-cp312-manylinux2014_x86_64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp312-cp312-manylinux2014_x86_64.whl
- Upload date:
- Size: 798.1 kB
- Tags: CPython 3.12
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a64fd3cd683fae7e7a7c4eb5096cf448d495a666fe2210c5f1fc34309ba3aa72 |
|
MD5 | b93ab102bde11e900911db14a71248a7 |
|
BLAKE2b-256 | 398ccdfc038c0eac168cf4bb3d57cffa10e9e1f872a8b301468941e3b011fa75 |
File details
Details for the file fastcrypto-0.0.3-cp312-cp312-manylinux2014_aarch64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp312-cp312-manylinux2014_aarch64.whl
- Upload date:
- Size: 789.9 kB
- Tags: CPython 3.12
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef415a5832ab67cea1b132b5ba508af764345985328ba2bdfe03661378f7ce0a |
|
MD5 | 67dd4bb1ddc2049c8771376688c8146b |
|
BLAKE2b-256 | 7faa3d24aadf8d171dcc3c4a9ae0c116575d18d1e070f7b2f62b3db67614ef5e |
File details
Details for the file fastcrypto-0.0.3-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 59.4 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.28.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346b8936460c5a36defb01f82137233d283a9812d221fc548700efe10106d50e |
|
MD5 | f6480fcd2e640daf40852bc38a2bae01 |
|
BLAKE2b-256 | 2408765e1a90fe2a3caaa00aef9b43e3aa9cd95f8e454f0512c5bab13e832510 |
File details
Details for the file fastcrypto-0.0.3-cp311-cp311-manylinux2014_x86_64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp311-cp311-manylinux2014_x86_64.whl
- Upload date:
- Size: 796.7 kB
- Tags: CPython 3.11
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a710705e553207c7bac06c63a68af9bb145aa3d29b2ea4262885638ba3bd7b72 |
|
MD5 | f29afc19a828be47fe8485f9a23c9c11 |
|
BLAKE2b-256 | 9957f5a96497cf24281821a3417d3c9005b5fd59e93fce8ae3136a275bcf867e |
File details
Details for the file fastcrypto-0.0.3-cp311-cp311-manylinux2014_aarch64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp311-cp311-manylinux2014_aarch64.whl
- Upload date:
- Size: 788.9 kB
- Tags: CPython 3.11
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 598581439e6c3c5b24492f1aa7ba9486667f21208a3e337aeddf547b129733a5 |
|
MD5 | 5b1fce368185c8faa4d7a382c6ea74d5 |
|
BLAKE2b-256 | 87f8bc13ae51bbea879a800e89ab24bdae18785638d904b9c3036550b63b898d |
File details
Details for the file fastcrypto-0.0.3-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 59.3 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.28.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc4fddb667fb61dabf50b09e23b1cbb962e69a6390a62cfdeac6c5511dca1cd8 |
|
MD5 | a70e74675452e7de3bfa55c5f28431de |
|
BLAKE2b-256 | 401c9bd4fbe1eddb9fdba2c11609dc7b9514c71da38f955ae0c0cc8d31717b39 |
File details
Details for the file fastcrypto-0.0.3-cp310-cp310-manylinux2014_x86_64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp310-cp310-manylinux2014_x86_64.whl
- Upload date:
- Size: 792.5 kB
- Tags: CPython 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d71b115a2005cd07f789cdb01a276d9b22b16cb79870eadc96a06ad8b843a70 |
|
MD5 | 6c4f9814848f9f7c7dfd512b3b347293 |
|
BLAKE2b-256 | 0db9da18faeec296f1620128a3ebc63c0cf55c855b6d7012af88663213bbec99 |
File details
Details for the file fastcrypto-0.0.3-cp310-cp310-manylinux2014_aarch64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp310-cp310-manylinux2014_aarch64.whl
- Upload date:
- Size: 785.5 kB
- Tags: CPython 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0df6b489a665ff9ea70a2e873ecafebfd1629d6b22e6794f509e86b873e99a4a |
|
MD5 | 79dbfef6d0e2167c8feaf92f9f549f05 |
|
BLAKE2b-256 | 66bfe09b8957ab85f05b3ac5af8e328b5138121915c2e8e4b13cd85944169598 |
File details
Details for the file fastcrypto-0.0.3-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 59.2 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.28.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3bccafb4c66662fe0b7a67f708e1bad116c507be93475ee2e514e55dba3c0f7 |
|
MD5 | 6dba1ca265bd1f44d0f783bfb639803d |
|
BLAKE2b-256 | 97c71ab18f2e24dfcc9f3b94e73ccf3d56ffa5ac837f71350f4986b62e38b1e3 |
File details
Details for the file fastcrypto-0.0.3-cp39-cp39-manylinux2014_x86_64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp39-cp39-manylinux2014_x86_64.whl
- Upload date:
- Size: 796.6 kB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eed944420913fd040cc2216519c6b37733f4bfce39d19d1cf8c42de9d1b6753e |
|
MD5 | 73d0109348dc35e778c14ae98e0f6c32 |
|
BLAKE2b-256 | be73c28bab89fff8ad5a6d6922d1449a920a6aa73d0fc147cb2e2f2735348dd5 |
File details
Details for the file fastcrypto-0.0.3-cp39-cp39-manylinux2014_aarch64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp39-cp39-manylinux2014_aarch64.whl
- Upload date:
- Size: 787.8 kB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80a6350584ba8e99daf155dd1cee73d0bb9987b78354f20bea626615ca6eede9 |
|
MD5 | ed27e19d8b71457bb7d0c7881676abcb |
|
BLAKE2b-256 | 07b966aa1b9fcc1e9b5829fa924187ea5bbbd5eb62d0177299889de44d9aada7 |
File details
Details for the file fastcrypto-0.0.3-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 59.4 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.28.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562cfd782ccb3cddafa009efce89bc5ecfa9c64897f2c3515315473492ce319f |
|
MD5 | bc9b516843b793bea11898f4152b0baf |
|
BLAKE2b-256 | e9984d08bec9a321e88671f9c45c5639397f70aca8a9fcf1f923f2ae41ab690b |
File details
Details for the file fastcrypto-0.0.3-cp38-cp38-manylinux2014_x86_64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 792.6 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97b86f4cc6c1d21de1d37f725e95db8c7b66fe2e0e288163a02561cb453b2072 |
|
MD5 | 1f41df3a4c4819282e4dc40a5549e7d3 |
|
BLAKE2b-256 | 4a6f9dd2e321378fc8114cce5e723e83351801795dafa4e5592f17e5e5b46371 |
File details
Details for the file fastcrypto-0.0.3-cp38-cp38-manylinux2014_aarch64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp38-cp38-manylinux2014_aarch64.whl
- Upload date:
- Size: 785.5 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d982b705b67406e564db60ad576257fcb587cf39c4763763a37ebd4369abf59b |
|
MD5 | 327dc14e6a1b0698fa93a1c4a680dbd7 |
|
BLAKE2b-256 | 6460f3b4c2982d3692f36c757f72193516b7e73cf324e7d1d39f900899c3c408 |
File details
Details for the file fastcrypto-0.0.3-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 59.3 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.28.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a4d4aeede352773e57f39f8985ae7e3297d1d59597a4c90e1e321a8d9eab11d |
|
MD5 | fd4bf3120125acca0b3ccf8ba22a35e6 |
|
BLAKE2b-256 | 6e624061cbf682b8f481524f7acbaa8189dde29ff2c7e2b0ae03a5dc14358f78 |
File details
Details for the file fastcrypto-0.0.3-cp37-cp37m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 815.7 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 606d3dc1c5f2260d1363c3879b350ac8cb9e0a6da15276f6bd668c6486f66a47 |
|
MD5 | 05b7a481184ff48f9fe0ae9c9cac7286 |
|
BLAKE2b-256 | 27c4d7241e2000f97a5b4e11af45458fe3084b47498ba4c66107a625e188bf46 |
File details
Details for the file fastcrypto-0.0.3-cp37-cp37m-manylinux2014_aarch64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp37-cp37m-manylinux2014_aarch64.whl
- Upload date:
- Size: 811.5 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1545d682c559006cde57d18dff170d2c11830f0d58b635474570be22bb01e2d |
|
MD5 | abdffc905bbdd60c1f74672b4e47eeb2 |
|
BLAKE2b-256 | 167d5c0fb85b44346fe982f0dac0e02fa7518e0fb3157362bd825593e23d911c |
File details
Details for the file fastcrypto-0.0.3-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 59.1 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.28.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f7e4753036e2c640ff204afc6eaec28654831344a484d012a0b1a032430b558 |
|
MD5 | 1f97934290e60eadec5d45e5411c1927 |
|
BLAKE2b-256 | 090e9703b064ccf9390e4dbc3af95c47cae819c7ef896c6bf72335f599c4bc76 |
File details
Details for the file fastcrypto-0.0.3-cp36-cp36m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp36-cp36m-manylinux2014_x86_64.whl
- Upload date:
- Size: 814.0 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04782da60affbff7c3de34bdefcd954161f3d0c8728325fe81703c4fcb4c0e38 |
|
MD5 | 475fa5f56ab37a1db23f8870d0dac836 |
|
BLAKE2b-256 | ffcae44122fe8eeeaa055041159d4703c657c0e5dba1324c5090fe85cecceb2b |
File details
Details for the file fastcrypto-0.0.3-cp36-cp36m-manylinux2014_aarch64.whl
.
File metadata
- Download URL: fastcrypto-0.0.3-cp36-cp36m-manylinux2014_aarch64.whl
- Upload date:
- Size: 807.6 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ff3739fb027c120a9d95c7a33aae6e7417a6b70dd0f05b223596cd69a4e44ee |
|
MD5 | 372d2baa3098c01b4943b007f70a8c75 |
|
BLAKE2b-256 | 8429a21f84ce9b4beb7ca2a1c04711568a072ba9cc2c1e33873c9c8e4be4dd51 |