Skip to main content

A common cryptography encryption and decryption tools

Project description

A common cryptography encryption and decryption tools

Feature

  • Caesar
  • Affine
  • viger

how to use

import mycrypto

caesar

  • encryption
    mycrypto.Caesar_encode(plaintext,offset)
  • decryption
    mycrypto.Caesar_decode(ciphertext,offset)

Affine

  • encryption
    mycrypto.Affine_encode(plaintext,m,n)
  • decryption
    mycrypto.Affine_decode(ciphertext,m,n)

viger

  • encryption
 mycrypto.viger_encode(plaintext,key)
  • decryption

    • if u know the key
    mycrypto.viger_decode(ciphertext,key)
    
    • else u can
    mycrypto.viger_nokey(ciphertext,choice)
    

    if choice==0 , then the tool will burte the key

    if choice==1 , then the tool will use my dictionary to get the plaintext

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

mycrypto-1.3.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file mycrypto-1.3.tar.gz.

File metadata

  • Download URL: mycrypto-1.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for mycrypto-1.3.tar.gz
Algorithm Hash digest
SHA256 852c09f7ec6edc505614820e4b92a97916688d9af1cd7e394cfb46bf82df5813
MD5 a1b6ee12116649dad11719a67eace88c
BLAKE2b-256 cd24c2111e73222211709dfca61086ec74bfe28e2c975493485ca8395de1580a

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