Quote Originally Posted by sh3rpa View Post
move it 504 bits to the left
Ok, what are you moving to the left of what? There's really no need to move anything. Once you've read in a char you can do:
Code:
plain_text[i] = read_char;
i++;
inside your char-getting-loop. Don't try to make things too complicated But I'm intruiged now as to which encryption algorithm you're using that involves a cube...!

QuantumPete