title: Generate random keys
body: <p>I was given task to generate  random 80 byte keys     and i have decided  following strateges</p>
  
  <p>in my computer <code>sizeof(char)=1</code>  so i have created   array of  english alphabetical letters  </p>
  
  <pre><code>char *p=" ";
  char a[0..26] and in cycle 
  
  
  for (int  i=0;i&lt;=80;i++){
     *(p+i)+= a[(rand()+100) % 26];
  }
  </code></pre>
  
  <p>but it does not work it  stops execution please help   sorry if my code is stupid  but i can't think at this time   otherwise
  thanks
  code</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string.h&gt;
  #include &lt;cstdlib&gt;
  using   namespace std;
  int main(){
  
      char *p=" ";
      char  a[]= { 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
   for (int i=0;i&lt;=80;i++){
          *(p+i)+=(a[(rand()+100)%26]);
      }
  
       cout&lt;&lt;p&lt;&lt;endl;
  
  
       return 0;
  
  }
  </code></pre>