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 details)
Built Distribution
File details
Details for the file manicrypt-0.0.3.tar.gz
.
File metadata
- Download URL: manicrypt-0.0.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4404191be15c8f59eed22a5ef9c65b3c221ed7b96fb8a5c4e292c07065eeb72 |
|
MD5 | 995c91a369994ca3923b9fb1185980f1 |
|
BLAKE2b-256 | 4b623b0c021d3019ae6178e58cb9f3711c88df031bc876bc94d3d0f683531a1c |
File details
Details for the file manicrypt-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: manicrypt-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb1f1e4f2ada956eeb59c717b0d09f2f10e6a000abbe0232c686a93c0afe5aec |
|
MD5 | 02f6a1dd7394b0f66531da757808c196 |
|
BLAKE2b-256 | a57ef86f020bdf0d06e45324a2a25d0ed5e5a308954b7aa070272febb79f13cc |