How to verify a decrypted cyphertext



Hello list,

Does anybody know how a computer verifies that it has succesfully decrypted a
cyphertext?

In the case of Project RC5, they have to find out a string which is known to be
readable and probably use pattern-matching algorithms based on some sort of
dictionary (my 2 cents). But in the case of a encrypted random string how woud one
know that the solution has been found.

Thanks.



Relevant Pages

  • Re: How do I encrypt a number from 1 to 1000 to a 4 digit hex code?
    ... then you best bet is to use RC4 which is a stream cipher. ... digit in a given position will always have the same cyphertext. ... String cText; ... static int Decypher{ ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Java string encryption/decryption
    ... encrypted byte-array to a String before decrypting it. ... Cyphertext will contain all bytes from -128 to 127 which will ... Convert the plaintext to a byte array. ... Encrypt the byte array to produce the cyphertext as a byte array. ...
    (comp.lang.java.programmer)
  • Re: Java string encryption/decryption
    ... encrypted byte-array to a String before decrypting it. ... I'm trying to decrypt. ... The cyphertext will not make sense as a String and should not be ... Convert the plaintext to a byte array. ...
    (comp.lang.java.programmer)