Security - Message Space and Ciphertext Space

  • + 0 comments

    A new approach for typecasting in C/C++

    for(int i=0;i<10;i=i+1){
            if((a[i]-'0')<10 && (a[i]-'0')>=0){
                printf("%c",(((a[i]-'0')+1)%10)+'0');
            }
            else{
                break;
            }
        }