Skip to main content

A lib to decrypt or encrypt message convinet and safe!expert!

Project description

超安全加密解密库

safecrypt是一个专业加密解密库,只要一个密码,且拥有庞大团队~~(足足有一人)~~

安装方法:

pip install safecrypt

使用方法

fuction nencrypt(str: string,str magic):
    parm:string
    explain:需要加密的文本,必要
    parm:magic
    explain:密码,非必要
    return:string
    like 10010101010101.........此类01码,很长
fuction ndecrypt(str: string,str magic):
    parm:string
    explain:需要解密的文本like 10010101010101此类01码,必要
    parm:magic
    explain:密码,非必要
    return str:原文本,一旦有error返回int:错误码-1
   

且密码可以是中文

更难破解

安全性放心吧

example:

import safecrypt as s
a=s.nencrypt("123")
print(a)
b=s.ndecrypt(a)
print(b)
00000000000000000000000000000000000000
011000000011000000000000000000000000000
000000000010001011000000000000000000000
0000000000000000000000000001110011000000
0000000000000000000000000000000011000001
1000000000000000000000000000000000000000
00000011011011000000000000000000000000000
00000000000000011000000000000000000000000
0000000000000000000011110000000000000000000
000000000000000000000000000100110010000000
000000000000000000000000000000000000000101
011000000000000000000000000000000000000000
000000111011100000000000000000000000000000
000000001011100000010000000000000000000000
00000000000000000000011000000000000000000000
0000000000000000000000000001001101100000000
000000000000000000000000000000101110011111
0000000000000000000000000000000000000000000
0011011000000000000000000000000000000000000
0000000010000000000000000000000000000000000
0000000000000000100100000000000000000000000
0000000000000000000000011000000000000000000
0000000000000000000000000000000111000000000
0000000000000000000000000000000000000111110
0000000000000000000000000000000000000000000
1000000000000000000000000000000000000000000
0000000010010000000000000000000000000000000
0000000000000001111100000000000000000000000
0000000000000000000000010100000000000000000
0000000000000000000000000000011111000000000
0000000000000000000000000000000000001110000
00000000000000000000000000000000000000000001
01010000000000000000000000000000000000000000
00000100010000000000000000000000000000000000
00000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000
00000000000000000000000000010000000000000000
00000000000000000000000000000000000000000000
00000000000000000000000000000000000000010000
00000000000000000000000000000000000000000000
01000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000
00000000000000000001000000000000000000000000
00000000000000000000000001000000000000000000
00000000000000000000000000000000000000000000
000000000000000000000000000000000000010000000
000000000000000000000000000000000000000000100
0000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000001101110
123

是不是很长

这就是他的安全性

难以破解

且密码可以是中文

更难破解

安全性放心吧

Project details


Download files

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

Source Distribution

safe_dencrypt-0.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

safe_dencrypt-0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file safe_dencrypt-0.2.tar.gz.

File metadata

  • Download URL: safe_dencrypt-0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for safe_dencrypt-0.2.tar.gz
Algorithm Hash digest
SHA256 ee95cca562e37394583c838683a7a018e0d9c958474a951a4df30458a0d74255
MD5 430743e87da360b0538380ad5d78be36
BLAKE2b-256 cadb8594e8363d671d78200f3b9c16cde8f4d40d18de4d0763ae8c8c76793f3d

See more details on using hashes here.

File details

Details for the file safe_dencrypt-0.2-py3-none-any.whl.

File metadata

  • Download URL: safe_dencrypt-0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for safe_dencrypt-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5c7d14ee06ca0185651d1fffbc0155564ee4e4feb93f82c4a3dba10a6f0027b
MD5 af67c41df69cfb54441a058a408590b9
BLAKE2b-256 9250af6ec097030865d896726ebe7de9ee956127fac0e0f30556b2c07ea2892f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page