In sci.crypt Stefan Claas <pol...@tilde.club> wrote:
> Chris M. Thomasson wrote:
>
>> On 2/13/2024 8:45 PM, Rich wrote:
>> > In sci.crypt Chris M. Thomasson <
chris.m.t...@gmail.com>
>> > wrote:
>> >> On 2/12/2024 5:30 PM, The Doctor wrote:
>> >>> Deos anyone how what encryption is being used here?
>> >>>
>> >>> *1234567890ABCDEF01234567890ABCDEF0123456
>> >>
>> >> None? lol. just kidding. Humm...
>> >>
>> >> Some combination of plaintext, secret key and cipher algorithm
>> >> generated it. Probably, the plaintext was hand crafted? ;^)
>> >
>> > As Jacob correctly pointed out, if one knows the message, one can
>> > then 'hand craft' a one-time-pad to generate exactly this output
>> > from that message.
>>
>> Or even the other way around? If one knows the OTP (Bob and/or
>> Alice), they can create a special plaintext that generates this
>> output for fun.
>
> How would you do this?
For a traditional, 1940's substution style OTP, it is trivial:
Message: The
Pad:
T=H
e=r
h=e
Substitute using the pad, get the encrypted message: Her
One can do the same in reverse, if one has an encrypted message, one
can "fashion" a "pad" that will appear to make the message decrypt to
anything you like (so long as "anything" is the same length as the
encrypted message). Note that for the above I picked that pad on
purpose so that "The" would /encrypt/ to "Her".
If one uses XOR to encrypt using their OTP then fashioning a "pad" to
transform X into Y is simply byte wise X (xor) Y. The result is a pad
that will transform X into Y (or Y into X) by XOR.
> I mean the OP IMHO does not show an encrypted string, done with an
> OTP.
That's the magic of OTP's that provide their prefect secrecy, we can't
know if that is an ecrypted string, decrypted string, or just random
line noise. All possible "decryptions" are possible, and finding the
one 'needle' in the haystack of "not the right pad this time" is
troublesome. Less so in today's world where a computer can "spell
check" the message and dismiss much of the hay in a near instant.
> OTPs nature is that it does not include patterns and is totally
> random.
Properly secure OTP's, yes. But we can't know with certianty that OP's
original string was not from a 'custom crafted OTP'.
> Even if this string is not encrypted and only encoded, how would one
> get such pattern from plain text and convert it back to plain text?
By choosing the "encoding" in order to make such happen.
> It had been best if the OP had posted a reference URL ...
I doubt OP found the string at some URL. I suspect the OP was
trolling.