Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.crypt > #50159

Re: CHAL2X

From Richard Heathfield <rjh@cpax.org.uk>
Newsgroups sci.crypt
Subject Re: CHAL2X
Date 2021-09-26 17:12 +0100
Organization Fix this later
Message-ID <siq669$aa0$1@dont-email.me> (permalink)
References (6 earlier) <sipqp0$n4l$1@dont-email.me> <sipu37$1kbj$1@gioia.aioe.org> <sipupa$kk8$1@dont-email.me> <siq2j8$1nl7$1@gioia.aioe.org> <siq50v$1s7$1@dont-email.me>

Show all headers | View raw


On 26/09/2021 16:53, Richard Heathfield wrote:
<snip>
> 
> sbseed is a numeric seed for the PRNG, used for generating S-boxes. 
> Giving it a non-numeric is your problem.
> 
> Try, for example:
> 
> cdx4 plaintextfile.txt ciphertext keyfile.txt 12345

By the way, I thought it went without saying, but on reflection perhaps 
it doesn't, that the number you use for sbseed must be the same for 
decryption that you used for encryption.

rjh@here:~/cdx4$ ./cdx4 max.out max.org max.key 12345 -d
.................
rjh@here:~/cdx4$ diff max.in max.org
rjh@here:~/cdx4$

(i.e. decrypt same as orig)

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

Back to sci.crypt | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-23 16:34 +0100
  Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-25 19:45 +0200
    Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-25 19:04 +0100
      Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-25 20:08 +0200
  Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-25 23:03 +0200
    Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-25 22:14 +0100
      Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-26 00:53 +0200
        Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-26 06:59 +0100
          Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-26 14:40 +0200
            Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-26 13:58 +0100
              Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-26 15:54 +0200
                Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-26 15:06 +0100
                Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-26 17:11 +0200
                Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-26 16:53 +0100
                Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-26 17:12 +0100
                Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-26 18:42 +0200
                Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-26 18:27 +0100
                Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-26 20:43 +0200
                Re: CHAL2X Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-09-26 20:41 +0100
                Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-26 21:46 +0200
                Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-26 20:57 +0100
                Re: CHAL2X Stefan Claas <spam.trap.usenet@gmail.com> - 2021-09-26 13:19 -0700
                Re: CHAL2X Max <maxturv26@gmx.net> - 2021-09-26 22:30 +0200
                Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-26 21:37 +0100
                Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-26 21:33 +0100
                Re: CHAL2X Stefan Claas <spam.trap.usenet@gmail.com> - 2021-09-26 13:39 -0700
                Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-26 20:53 +0100
                Re: CHAL2X Colin <a@b.com> - 2021-09-27 19:11 +1300
                Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-27 07:41 +0100
                Re: CHAL2X Colin <a@b.com> - 2021-09-27 20:02 +1300
                Re: CHAL2X Richard Heathfield <rjh@cpax.org.uk> - 2021-09-27 08:27 +0100
                Re: CHAL2X Colin <a@b.com> - 2021-09-28 20:09 +1300

csiph-web