Skip to main content

a simple cryptography module built to test the pip upload

Project description

WELCOME TO MANICRYPT

  • manicrypt is a simple and fun cryptography package
  pip intall manicrypt

how to import?

from manicrypt import mcrypt

functions are

Function Description
mencrypt(string,key) encrypt the string with an key(integer)
mdecrypt(string,key) decrypt the string with an key(integer)
imgwrite(img, msg) hides the msg(message) into the img(picture) in binary
imgread(img) display the hidden message img(picture) in binary
mapenc(string) encrypt maps a value to srting
mapdec(string) decrypt maps a value to string

###sample

  • mencrypt()
from manicrypt import mcrypt
x = mcrypt.mencrypt('mani',2)
print(x)

output 'ocpk'

  • mdecrypt()
from manicrypt import mcrypt
x = mcrypt.mdecrypt('ocpk',2)
print(x)

output 'mani'

  • imgwrite()
from manicrypt import mcrypt
mcrypt.imgwrite('your image path or file_name.extention','your message')
  • imgread()
from manicrypt import mcrypt
mcrypt.imgread('your image path or file_name.extention')
  • mapenc()
from manicrypt import mcrypt
mcrypt.mapenc('your text')
  • mapdec()
from manicrypt import mcrypt
mcrypt.mapdec('your text')

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

manicrypt-0.0.3.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

manicrypt-0.0.3-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

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