[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: urandom number in Emacs
From: |
Emanuel Berg |
Subject: |
Re: urandom number in Emacs |
Date: |
Sun, 07 Nov 2021 01:13:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> This is a dynamic module with a function that reads from
> /dev/urandom ... so more random numbers with
> `random-urandom' than with `random' (since Lisp cannot read
> from /dev/urandom because it's a non-regular file - IIUC?) -
> so instead this uses the same C as in pwgen(1) to do it,
> pretty simple I guess :P
>
> So now one can do (random-urandom) ... like any other Lisp
> function and be on everyone else's level. Only cooler B)
>
> See a very long discussion on gmane.emacs.help ...
>
> Anyway, one C file, one C header file, and one Makefile
> here:
>
> https://dataswamp.org/~incal/emacs-init/random-urandom/
>
> Just do 'make run'.
... Hello?
Information theory guys? Practical guys writing it in Lisp?
Portable and without any external tools? Why, don't run away
all of a sudden?
Can anyone hear me?
I mean _this_ time around?
--
underground experts united
https://dataswamp.org/~incal