Make Your Own Encryption Program

preview_player
Показать описание
This video lays out the steps for creating a very simple encryption and decryption program using free tools. The programming language we will be using is VB Script. See if you can decrypt this text:

wkjlue#vnrro#huxwxi#uxr\

You can find all the code for this program as well as an alternative for Apple computers at the project page:

Рекомендации по теме
Комментарии
Автор

This is the Caesar cypher. It's one of the oldest known crypto systems, and it can be cracked using simple frequency analysis.

TACICALTACOS
Автор

The message says "your future looks bright"

Nicholasist
Автор

This would be an entry level encryption as what you are doing is a julius ceaser (ceaser cipher) in which you shift up or down the alphabet x amount of characters

what this video failed to comment on is..

the chr and asc code makes reference to the american standard code information interchange (or ascii)

this is where 1 letter represents 1 byte

for this reason the lowest value is 0 and highest calue is 255 within the ascii table

what happens when you add 10 to 250
you get 260 but the highest value is 255

the modular or mod part of the code will therefore make sure its always between 0 and 255 therefore it will not error

but the ouput will contain non printable characters

0-31 on the ascii table
which some text programmes do not show usually rich text editors abd email programmes

so part of your message becomes lost

devilzwishbone
Автор

For all who have a problem with x or w, I tried using caps instead of lower case, seemed to help my problem, also, if you play around with how many the program +'s or -'s a letter you can semi-fix it that way (semi meaning there will be other problems but not as major which you can fix more easily)

jamesdavidson
Автор

The cool things is I am taking visual basic this year in school so this totally made sense.

boxvader
Автор

To improve the similar concept u can randomize the shift amount for each character/symbol, and output it as a key array (contains all shift amount of symbols, generally 0-255), then do the encryption

jollymoddy
Автор

2:49 It still said enter text to be encrypted...

TheSteamGamer
Автор

@Skiroid69 if you already know all about encryption and vb script, kudos. i fail to see how teaching others about it is pointless, though. if it is, then i apologize on behalf of all schools, teachers, mentors and educators. it should go without saying that this video is meant for those that don't know bout encryption. so if you already know about encryption, this video obviously isn't meant for you. so leaving a comment saying that it's "pointless" is, for lack of a better word....pointless.

Tinkernut
Автор

Really good example how to encrypt and decrypt. This video could be promoted for education knowledge to show a example how it works in real.

Phasercoil
Автор

I thought I had an error but then I realised I'd typed 'mySerey' for one of the lines. Works perfectly, thank you.

Seddon
Автор

I'm just a grade 10 specialist maths student and this all makes me want to cry

taylahonline
Автор

set x =
mySecret = inputbox("Enter text to be encoded")
mySecret = StrReverse(mySecret)
x.Run "%windir%\notepad"
wscript.sleep 1000
x.sendkeys encode(mySecret)

function encode(s)
For i = 1 To Len(s)
newtxt = Mid(s, i, 1)
newtxt = Chr(Asc(newtxt)+5)
coded = coded & newtxt
Next
encode = coded
End Function

Welcome!

BobbbyMaster
Автор

I made a simple logic 2 years ago. It was basically (character ASCII value)*(character position in the string)*(any constant which was asked by the user during encryption as a key), and all of them numbers were separated with a "."

dan
Автор

I've watched dozens upon dozens of your videos. They've helped advanced my knowledge alot, but I'm always left wondering why you spend so much time teaching, surely there is more lucrative routes for you, since you are the definition of computer wizard (IT, com scientist, software engineer, electrical engineer etc.)

Or have you already made your enough capital to live comfortably? 

RealJustinEstrada
Автор

Your videos are all very interesting. What software do you use for the editing and animation?

SuperAgenteZ
Автор

Thanks heaps. This is the exact type of video I needed. I love the programming tutorials.

HeyJD
Автор

For newbies, this is actually GREAT!!!

BenjtheMan
Автор

HEY! python is probably one of the most simple scripting languages out there! And tbh is actually quite similar to vb.

ryolo
Автор

The "one-time pad" encryption is mathematically proven to be unbreakable. Even in thousands of years and even with all the computing power in the world. And it is so easy to implement that you can even do it with pen and paper. Just look it up on Wikipedia or anywhere else:
"the one-time pad (OTP) is a type of encryption which has been proven to be impossible to crack if used correctly."
There on Wikipedia it is also explained how it works. Really easy!

Chrissmile
Автор

I can code and I just found out how this works! *Now I can just do the encoding and decoding in my head!*

toaststealer