Security - Message Space and Ciphertext Space

Sort by

recency

|

35 Discussions

|

  • + 0 comments

    Python using list comprehension

    print(''.join([str(int(c)+1)[-1] for c in input()]))

  • + 0 comments

    If you're a guitar player who's looking to improve your fingerpicking technique, you're not alone. Fingerpicking is a unique and versatile way to play the guitar, and it can be challenging to master. But with practice and dedication, you can develop your skills and take your playing to the next level.Here are some tips and techniques to help you improve your fingerpicking.

  • + 0 comments

    Reckon some hacker will crack this cipher quite easily!...

    messagetext = input()
    ciphertext = ''
    for m in messagetext:
        ciphertext += str(int(m) + 1) if int(m) < 9 else '0'
    print(ciphertext)
    
  • + 0 comments

    One liner using C#.

    foreach (char ch in Console.ReadLine()) Console.Write((ch - 47) % 10);

  • + 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;
            }
        }