Security - Message Space and Ciphertext Space

  • + 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)