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
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 Distribution
manicrypt-0.0.3.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for manicrypt-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb1f1e4f2ada956eeb59c717b0d09f2f10e6a000abbe0232c686a93c0afe5aec |
|
MD5 | 02f6a1dd7394b0f66531da757808c196 |
|
BLAKE2b-256 | a57ef86f020bdf0d06e45324a2a25d0ed5e5a308954b7aa070272febb79f13cc |