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


Groups > comp.programming > #5548

Re: An advantage of RSA encryption

From Johannes Bauer <dfnsonfsduifb@gmx.de>
Newsgroups comp.programming
Subject Re: An advantage of RSA encryption
Date 2015-08-01 20:17 +0200
Organization albasani.net
Message-ID <mpj2fj$361$1@news.albasani.net> (permalink)
References <mpimf8$cc7$1@news.albasani.net>

Show all headers | View raw


On 01.08.2015 16:52, Mok-Kong Shen wrote:

> For a fairly simple and self-sufficient code (employing not
> probabilistic but provable primes) to perform end-to-end RSA
> encryption, see http://s13.zetaboards.com/Crypto/topic/7234475/1/

The fact that you rely on Python's random library for generation of
random numbers for cryptographic purposes reveals that you know
absolutely nothing about cryptography at all. Since you quote the HAC
maybe you should try to actually *read* it as well.

Don't try to convince people that you know what you're doing by fancy
shmancy stuff like provable primes. Instead, maybe focus on not trying
to make horribly amateurish mistakes like using "import random" for
cryptographically secure RNG.

Cheers,
Johannes

-- 
>> Wo hattest Du das Beben nochmal GENAU vorhergesagt?
> Zumindest nicht öffentlich!
Ah, der neueste und bis heute genialste Streich unsere großen
Kosmologen: Die Geheim-Vorhersage.
 - Karl Kaos über Rüdiger Thomas in dsa <hidbv3$om2$1@speranza.aioe.org>

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-01 16:52 +0200
  Re: An advantage of RSA encryption Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-01 20:17 +0200
    Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-01 23:04 +0200
      Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-02 04:32 +0200
      Re: An advantage of RSA encryption Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-02 19:36 +0200
        Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-02 21:04 +0200
          Re: An advantage of RSA encryption Kaz Kylheku <kaz@kylheku.com> - 2015-08-03 17:31 +0000
            Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-04 14:44 +0200
              Re: An advantage of RSA encryption Richard Heathfield <rjh@cpax.org.uk> - 2015-08-04 14:01 +0100
                Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-04 15:07 +0200
                Re: An advantage of RSA encryption Richard Heathfield <rjh@cpax.org.uk> - 2015-08-04 14:21 +0100
                Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-04 15:24 +0200
                Re: An advantage of RSA encryption Richard Heathfield <rjh@cpax.org.uk> - 2015-08-04 14:43 +0100
                Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-04 15:49 +0200
                Re: An advantage of RSA encryption Richard Heathfield <rjh@cpax.org.uk> - 2015-08-04 15:56 +0100
                Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-04 22:05 +0200
                Re: An advantage of RSA encryption Kaz Kylheku <kaz@kylheku.com> - 2015-08-04 15:24 +0000
                Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-04 22:10 +0200
                Re: An advantage of RSA encryption Richard Heathfield <rjh@cpax.org.uk> - 2015-08-04 21:42 +0100
                Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-04 23:05 +0200
                Re: An advantage of RSA encryption Richard Heathfield <rjh@cpax.org.uk> - 2015-08-04 22:18 +0100
                Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-04 23:58 +0200
                Re: An advantage of RSA encryption Chad <cdalten@gmail.com> - 2015-08-04 16:45 -0700
                Re: An advantage of RSA encryption Chad <cdalten@gmail.com> - 2015-08-04 16:55 -0700
                Re: An advantage of RSA encryption Chad <cdalten@gmail.com> - 2015-08-04 22:12 -0700
                Re: An advantage of RSA encryption Richard Heathfield <rjh@cpax.org.uk> - 2015-08-05 07:58 +0100
                Re: An advantage of RSA encryption Chad <cdalten@gmail.com> - 2015-08-05 08:06 -0700
  Re: An advantage of RSA encryption "J. Clarke" <j.clarke.873638@gmail.com> - 2015-08-03 06:50 -0400
    Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-03 18:28 +0200
      Re: An advantage of RSA encryption "J. Clarke" <j.clarke.873638@gmail.com> - 2015-08-05 22:07 -0400
        Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-06 11:01 +0200
  Re: An advantage of RSA encryption Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-08-04 15:26 +0200

csiph-web