gusucode.com > cryptography_matlab_codes > cryptography_matlab_codes/test1.m

    temp=text2int('tcabtiqmfheqqmrmvmtmtaq');
kis=text2int('if');
%ssting=zeros(1,23)
for k=1:26
    for k1=1:26
        kis1=mod(((kis*k1)+k),26);
        if ((kis1(1)==19)&&(kis1(2)==3))
        %break;
            a=k1;
            b=k;
            disp(kis1);
            disp(a);
            disp(b);
        end
    end
end
temp1=temp-b;
result=mod(temp1,26);
int2text(result)