Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- char input[8];
- char code[7] = "bla bla"
- int eax = 930297619;
- cin>>input;
- for(int ecx=0; ecx<8; ecx++)
- {
- input[ecx] ^= eax;
- if(code[ecx]==input[ecx])
- {
- if(ecx==5)
- {
- cout<<"Correct !"<<endl;
- exit();
- }
- else
- {
- eax^=input[ecx];
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment