enpy-1.0.0


توضیحات

An encryption/decryption program that incorporates OTP
ویژگی مقدار
سیستم عامل Unix
نام فایل enpy-1.0.0
نام enpy
نسخه کتابخانه 1.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Divit Kanath
ایمیل نویسنده divitkanath@gmail.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/enpy/
مجوز MIT
# Enpy This is an encryption and decryption program that incorporates One Time Pad to encrypt/decrypt text using a randomly generated key. ## Usage: An example portraying how the program can encrypt/decrypt text: ### Encryption The encrypt function takes two arguments which are the text to be encrypted and the key. If a key isn't provided as an argument, the program will generate a random key. The function returns the encrypted message and the key. ``` import enpy enc_msg, msg_key = enpy.encrypt("Hello World!", <key>) ``` ### Decryption The Decrypt function takes in 2 arguments which are the encrypted text and the key respectively. It returns the decrypted message and the key. ``` import enpy dec_msg, msg_key = enpy.decrypt(<enc_msg>, <key>) ``` ## Change Log ### 1.0.0 (3/9/21) --First release.


نحوه نصب


نصب پکیج whl enpy-1.0.0:

    pip install enpy-1.0.0.whl


نصب پکیج tar.gz enpy-1.0.0:

    pip install enpy-1.0.0.tar.gz