Encryption Program On Python!

preview_player
Показать описание
Encryption Program On Python 3.5.2. The program allows you to encrypt and decrypt back messages back. nice compact program that includes more complex built-in function call outs. Thanks for watching, leave a comment and like!! let's aim to get 35 likes!
Рекомендации по теме
Комментарии
Автор

Thank you so much for your explanations! I'm new to python and before this video, I was very confused but now I understand a lot more. Thanks again!

alyssacarpenter
Автор

I used this method of encryption and decryption and i expanded on it using functions and decryption keys and I would like to say that it is the single most useful program I have created. Also I made another copy that could encrypt entire text files. Good work David!

walkerkemp
Автор

oh I finally found it. : ) thanks a lot : )

codewithchamod
Автор

I really enjoyed watching your videos! I also have some tips for you:
I like that your videos are short but you should explain what you are going to do and what functions you are going to use in your projects in the beginning of the video. Also you should turn down the volume of the background music a bit.
And if you know anything about GUI-Programs (Tkinter) I would love to see some Tutorials about this!! Trying to learn tkinter but I need some help and the existing videos aren't the best.

keep the good work up!!

tobiasparenzan
Автор

Apparently I’m having a problem with line 16 I typed elif choice == ‘2’: according to the video I’m right but according to the visual studios code invalid syntax (<unknown>, line 16) plz help

lordmoonowl
Автор

here lol: it might be wrong lmao
result = ''
message = ''
choice = ''

while choice != 0:
choice = input("\ndo you want to encrypt or decrypt the message?\nEnter 1 to encrypt, 2 to decrypt and 0 to exit the programme. ")

if choice == '1':
message = input("enter message for encryption: ")
for i in range(0, len(message)):
result = result + chr(ord(message[i]) - 2

print(result + 'n\n')
result = ''

elif choice == '2':
message = input("\nenter the message you want to decrypt: ")
for i in range(0, len(message)):
result = result + chr(ord(message[i]) + 2)

print(result + '\n\n')
result = ''

elif choice != '0':
print("you have entered an invalid input. please try again. \n\n")

luvee
Автор

Thanks so much! This has helped me a lot! :)

crobes-hx
Автор

how understand the change ? i mean when the text is crypted . any way for print the process encryption/decryption? which one im needed to print ? im using really other way to do it and your exemple is pretty interesting

Silent_Chief
Автор

I got a syntax error when I pressed enter, here's my script
Could you please help??
result = ''
message = ''
choice = ''

while choice != 0:
choice = input ("\nDo you want to encrypt or decrypt the message?\nEnter 1 to encrypt, 2 to decrypt and 0 to exit the program.")

if choice == '1':
message = input("enter message for encryption")
for i in range(0, len(message)):
result = result + chr(ord(message[i] - 2)

print(result + '/n/n')
result = ''

SyntaxError: multiple statements found while compiling a single statement
>>>

peki
Автор

The program lets me encrypt it, but when I try to decrypt it, it exits out of the program

hbell
Автор

Not working, it says: File "/Users/PythonDeveloper/Downloads/encrypt.py", line 15
elif choice == '2':
^
SyntaxError: invalid syntax

gageyoung
Автор

it's giving me a syntax error for no reason. here's the script:
result = ''
message = ''
choice = ''

while choice != 0:
choice = input ("1 to encrpyt")

if choice == '1':
message = input("enter message plz")
for i in range(0, len(message)):
result = result + chr(ord(message[i] - 2)

print(result + '/n/n')
result = ''

nicoi
Автор

Font size very small sir please increase font size

rudragamer
Автор

Can this decrypt messages from your friends?

brainbean
Автор

You forgot to put 0 into " " two times in the code.

Ad-hohc
Автор

can you explain why you have to declare result = "blank" ?

varcvinsmoke
Автор

It keeps getting a traceback error when I try to decrypt the message. Anything wrong?

ZeroWinger
Автор

what kind of encryption does this come under?

stanmaharjan
Автор

It might be a REAL GOOD IDEA to post the code

escapefelicity
Автор

hii body i just start too learning pyhton i find a lot of problems to write a program i wish that you can help me brow this is my facebook oussama yousre

oussamayousre