title: Batch File 1 time-pad encryption
body: <p>I'm currently trying to code an encryption batch file that is unbreakable.</p>
  
  <p>How it works(I think):</p>
  
  <p>if you type the letter "a" the encryption file would change the output to whatever encryption key it had.</p>
  
  <p>So "a"="e"
  but next time you type it
  "a"=="f"
  and text time you type a
  "a"=="b"</p>
  
  <p>The one problem is I don't know how to make it random. %random% won't work because it's just numbers. The batch file would have to detect every time you type a certain letter then set a %random% and every possible %random% would equal a different number or letter or symbol. </p>
  
  <pre><code>set /p string==:
  %random%=q
  %random%=w
  %random%=e
  %random%=r
  %random%=t
  %random%=y
  %random%=u
  %random%=i
  %random%=o
  %random%=p
  %random%=a
  %random%=s
  %random%=d
  %random%=f
  %random%=g
  %random%=h
  %random%=j
  %random%=k
  %random%=l
  %random%=z
  %random%=x
  %random%=c
  %random%=v
  %random%=b
  %random%=n
  %random%=m
  </code></pre>
  
  <p>I'm not sure how to decode something like that either.</p>
  
  <p>Thank you for your help</p>