From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Noob dumb question (extending emacs) Date: Mon, 25 Oct 2021 16:40:54 +0700 Message-ID: References: <87o87hnrpt.fsf@zoho.eu> <875ytnzka1.fsf@zoho.eu> <87h7d6zrx9.fsf@zoho.eu> <87fssqxp1s.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="600"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 25 11:41:48 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mewUG-000ASY-8v for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 11:41:48 +0200 Original-Received: from localhost ([::1]:32960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mewUE-0006iA-Ur for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 05:41:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mewTf-0006hx-EA for help-gnu-emacs@gnu.org; Mon, 25 Oct 2021 05:41:11 -0400 Original-Received: from mail-ua1-x92f.google.com ([2607:f8b0:4864:20::92f]:33364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mewTc-0006Vm-HD for help-gnu-emacs@gnu.org; Mon, 25 Oct 2021 05:41:11 -0400 Original-Received: by mail-ua1-x92f.google.com with SMTP id o12so16670672uap.0 for ; Mon, 25 Oct 2021 02:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=g82Z1oDkU1m1eWapdMwDeqVarokeO6/gyRtLLi/leWQ=; b=IZI+Lt5Mz2K9gVRL/EOAYqc+3MAEHJW0CgTKHRVE8ozcJmSBg7O0m052nZuVvWP5+7 l4I54DSmIY+C638WbAQcQQtq9OBSwKzFG+Ujlv1KGuyHcWK40AJgRaxzXuaG8RZ4wdlH x//cjGsWUcpTA/ZpFGZ7v0QXRNEq94i1YL/yhmPu8ebLUhMcvz4eAfdeUIUO63H+7015 /sqfccLbotHuFthT4DtuX7fkDU9BvHnQ+3gg4/2qxMVyPScKoVw5MI0Vkh1cxRGTIeqR PSPG4K9snD/mBe53rglDibA3hxWD1ZRYmqpN5RVHE6L3pM/Yz14btbC6oucsIYOkpx2L m2RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=g82Z1oDkU1m1eWapdMwDeqVarokeO6/gyRtLLi/leWQ=; b=QwA6U2rkIT+j2bU0DpihQSwdjcH2ObsEEHWLR4XNg4bK1jjqT4rN7zvz9svVoNYEer LPAaAsTOzn2t5N4oPlQLOE81qLvxvXoKCG0B/ClIV6mKqA2o8lzjXcSsIxZTg+whSO6s PYPXdzpNVnJgmCHWDXDrXGeBx7mNfLipBT3ueTHT4T+GV338qIYUhCNLdzCyjv+E6198 OqYsQmEUAQQHbxYKfCALrJObR27hQHMyI6mOflB7lIh/AwJN3xAebIJ8UsdouzmbgEU4 dpOGuLW8SC+05oJMU3jSDYfujpz3EbEwIvZanBBqINgtfPknPRYPGyDtClZB/2nkqCi5 VRXw== X-Gm-Message-State: AOAM531qnulN3Skp/gyxSYKwDo4cksbRxFTBxOwnq0MLtjY0dfBY08Xe 2SHmPe50+qVrYl/hc13+SFwbp5tIXUBA6hRLV7vMnX8BW2k= X-Google-Smtp-Source: ABdhPJyz/DWWnol0qpAyBoaU8x2sGjGw9jEJ0DJEdKpDjUlEi+rBydaMqms/KuiF4+nAOH8Vs872+LGhU6KDDR6OBhA= X-Received: by 2002:a67:fa17:: with SMTP id i23mr1368031vsq.6.1635154866620; Mon, 25 Oct 2021 02:41:06 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::92f; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x92f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134141 Archived-At: On Mon, 25 Oct 2021 at 12:55, Jean Louis wrote: > In science, if there is "security implication" then it has to be > proven. That is why breaking crypto requires a proof which is usually > program or exploit that breaks it, not just a theoretical statement. In crypto science, an algorithm is considered compromised, for example, if it was previously thought to require a brute force search of 2^128 to break, and later shown to be breakable in 2^64 attempts. A 20-letter password contains about 120 bits of information. A user who requests generation of such a password reasonably expects that the attacker would have to bruteforce 2^120 possibilities. However, your generation algorithm uses only 48 bits of entropy, so the attacker only has to search through 2^48 possible seeds, and maybe 2^5 different generated password lengths, and breaks the password in 2^53 attempts, or 2^67 =E2=89=88 1.5*10^20 times faster than expected.