Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xor_strings:
- push ebp
- mov ebp, esp
- mov eax, [ebp + 8] ;mesajul
- mov ebx, [ebp + 12] ;cheia
- mov edx, [ebp + 16] ;lungimea
- decode_xor_strings:
- xor ecx, ecx
- mov cl, [ebx + edx - 1]
- xor [eax + edx - 1], ecx
- dec edx
- cmp edx, 0
- jg decode_xor_strings
- leave
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement