[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Noob dumb question (extending emacs)
From: |
Emanuel Berg |
Subject: |
Re: Noob dumb question (extending emacs) |
Date: |
Fri, 29 Oct 2021 00:54:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
See below, if we remain at 48 bits of entropy, but instead of
60 have an alphabet of only 3 chars, the password length rises
from 8.13 chars to 30.28 ...
Does this tell us that it is equally difficult to randomly
guess the both passwords from the two different configuration
at these lengths, or what does it tell us?
What does "48 bits of entropy" mean BTW?
;;; 48 bits, alphabet length n, password length l
;;; 2^48 = n^l <=>
;;; 48*ln(2) = l*ln(n) <=>
;;; l = 48*ln(2)/ln(n)
(defun epwgen-password-length (bits abc)
(let ((abc-len (if (numberp abc)
abc
(when (listp abc)
(length abc) ))))
(when abc-len
(/ (* bits (log 2)) (log abc-len)) )))
;; (epwgen-password-length 48 60) ; 8.13
;; (epwgen-password-length 48 '(a b c)) ; 30.28
--
underground experts united
https://dataswamp.org/~incal
- Re: Noob dumb question (extending emacs), (continued)
- Re: Noob dumb question (extending emacs), Emanuel Berg, 2021/10/28
- Re: Noob dumb question (extending emacs), Michael Heerdegen, 2021/10/23
- Re: Noob dumb question (extending emacs), Yuri Khan, 2021/10/23
- Re: Noob dumb question (extending emacs), Michael Heerdegen, 2021/10/23
- Re: Noob dumb question (extending emacs), Emanuel Berg, 2021/10/23
- Re: Noob dumb question (extending emacs), Michael Heerdegen, 2021/10/24
- Re: Noob dumb question (extending emacs), Emanuel Berg, 2021/10/27
- Re: Noob dumb question (extending emacs), Michael Heerdegen, 2021/10/28
- Re: Noob dumb question (extending emacs), tomas, 2021/10/28
- Re: Noob dumb question (extending emacs), Emanuel Berg, 2021/10/28
- Re: Noob dumb question (extending emacs),
Emanuel Berg <=
- Re: Noob dumb question (extending emacs), Michael Heerdegen, 2021/10/31
- Re: Noob dumb question (extending emacs), Emanuel Berg, 2021/10/31
- Re: Noob dumb question (extending emacs), Michael Heerdegen, 2021/10/31
- Re: Noob dumb question (extending emacs), Michael Heerdegen, 2021/10/23
- Re: Noob dumb question (extending emacs), Yuri Khan, 2021/10/23
- ERC links to man pages (was: Re: Noob dumb question (extending emacs)), Emanuel Berg, 2021/10/23
- Re: Noob dumb question (extending emacs), Jean Louis, 2021/10/24
- Re: Noob dumb question (extending emacs), Michael Heerdegen, 2021/10/24
- Re: Noob dumb question (extending emacs), Jean Louis, 2021/10/24
- Re: Noob dumb question (extending emacs), Michael Heerdegen, 2021/10/25