Description: This video is all about wiring a simple encryption program which encrypt some text file. In demo VBscript is used to write the program. We can use other language depending upon our choice.
Encryption is technique used to transform information from one form to some other form using some algorithm. The original information is called plaintext and transformed information is called cipher. The cipher is unreadable to anyone except those having special thing, known as key.The reverse process, i.e., to change the encrypted information into plain text is called decryption.
In video a function is defined in VBscript. This function change every character to a character we get after adding 5 to its ascii value Function is like following:
function encode(s)
for i = 1 to Len(s)
newtext = Mid(s,i,1)
newtext = Chr(Asc(newtext)+5)
coded = coded & newtext
next
encode = coded
End function
Source : gigafide from youtube
Tags: Encryption ,
Disclaimer: We are a infosec video aggregator and this video is linked from an external website. The original author may be different from the user re-posting/linking it here. Please do not assume the authors to be same without verifying.
Anyone Tried this VBscript ?
I think this is a sample. This is not the exact code and gives only idea of writing code.
All the code for this program and alternative for Apple computers is on
http://www.tinkernut.com/archives/4193
Thanks for sharing.
Thanks for sharing this video i have created my 1st Encryption code :P
Encryption ? Seriously ?
This kind of home made algorithm can be cracked in less than a second with for example frequential analysis attacks !
VBS and Python (such as every maintained programming language) have crypto libraries with strong encryption algorithm such as AES or RSA... So you'd better use them instead of playing as a sorcerer's apprentice.