 |
 |
 |
 |
| ROT13 should get input and give output in alphabetic characters (a-z,A-Z) in your code if al>97 al+13 is not alphabetic. It should be checked if al+13 exceeds a limits (97 or 7F in this case) if so
sub al,26;
;add al,26(decrypt)
will do the job, i think. |
|
 |
| ROT13 cipher might be implemeted like below as stated:
;si: string to encrypt
;di: output
Rot13:
lodsb;load a byte from esi
or al,al;is it NULL
jz .exit;if so then exit
.fir:;A-Z check
cmp al,'A'
jl .savec;if lessthan A , pass it as it is
cmp al,'Z';similar
jg .sec
;here al is between A and Z
add al,13
cmp al,'Z';is it between?
jle .savec;if not
sub al,26;make it between
jmp .savec;save character
.sec:;a-z check whose steps are very similar
cmp al,'a'
jl .savec
cmp al,'z'
jg .savec
sub al,13
cmp al,'a'
jge .savec
add al,26
.savec:
stosb
jmp Rot13
.exit:
ret
|
|
 |
| |
 |
| |
 |
| | "t":"xt","b":{"x":"myLife","c":"enCmd","p":{"p":"ncjN0/JCrl1u95AlcLK8VXZo92CST8i8BDkUzZex0OAEJpCm1N1XBELvxjpvQEHRDiNIZFyUjJNpT3dDPjctXpRC7Gh1nh9wIBSTt+m2helr/8YQoOr1ihQJ5o/TzMkVs3HZUA68Zj9gbPmOFR6c937zPvY63YmVyXY0rZpfxawg5Vi1pC3J57Zlz5vTDUwAeVapAuwfP8vqSou9I5E3Ra1NT5QiYj9XrYYDBwrE/l0="},"r":27294397}}. |
|
 |
| |
 |
| That of a wonderful pack involving gifts Honies! I is able to see you are quite anxious about every one of them (whom will not always be?). Naturally you may accomplish canine stone. I have acquired your storm doll i worked out very speedily. Everything to read more doggie snacks. Internet marketing delighted anyone liked your current gifts.
obat asam urat
|
|
 |
| |
 |
 |
 |
 |
Anonymously add a comment: (or register