How to make a crypter like ROT13

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
silent
Posts: 44
Joined: 28 Oct 2011 14:40

How to make a crypter like ROT13

#1 Post by silent » 25 Jul 2012 08:45

Hi,
Is there a way to make a crypter in batch that would work like ROT13 ?
So if you will type some text like abc it will replace a to for example h,b to i and c to j.And also in other way,to decrypt the text.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: How to make a crypter like ROT13

#2 Post by foxidrive » 25 Jul 2012 09:14

You should find one in google. ROT13 has been around since Adam was a youngster
http://www.google.com.au/search?hl=en&q ... batch+file There are even hits here, and Dave Benham's files.

BTW, to decrypt ROT13 you just run it through the encoder again.

dbenham
Expert
Posts: 2461
Joined: 12 Feb 2011 21:02
Location: United States (east coast)

Re: How to make a crypter like ROT13

#3 Post by dbenham » 25 Jul 2012 21:32

I posted an efficient native batch solution on this old DOStips thread a little over 1 year ago: Re: Simple batch Cryptography: howto crypt / decrypt ROT13:.

The prior post in that thread has a link to the "Dave Benham's Files" that has library of useful functions for dealing with strings in batch, including the ROT13 cypher.


Dave Benham

Post Reply