commit 258f22489876df4c4256f007fc98fe31d31085a6 parent 1d403f0af5afd0ede583580ba83d314544baf2da Author: Michael Savage <mikejsavage@gmail.com> Date: Thu, 9 Jul 2020 13:30:09 +0300 Use a table in README Diffstat:
M | README.md | | | 13 | +++++++------ |
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md @@ -57,9 +57,10 @@ source. ggentropy uses the following functionality: -- Windows: [CryptGenRandom](https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptgenrandom) -- MacOS: [getentropy](https://opensource.apple.com/source/xnu/xnu-3789.21.4/bsd/man/man2/getentropy.2.auto.html) -- Linux: [getrandom](https://lwn.net/Articles/606141/) with a fallback - to /dev/urandom if the syscall doesn't exist -- FreeBSD/OpenBSD/NetBSD: [arc4random_buf](https://man.openbsd.org/arc4random_buf) -- Solaris: /dev/urandom +| OS | Implementation | +| - | - | +| Windows | [CryptGenRandom](https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptgenrandom) | +| MacOS | [getentropy](https://opensource.apple.com/source/xnu/xnu-3789.21.4/bsd/man/man2/getentropy.2.auto.html) | +| Linux | [getrandom](https://lwn.net/Articles/606141/) with a fallback to /dev/urandom if the syscall doesn't exist | +| FreeBSD/OpenBSD/NetBSD | [arc4random_buf](https://man.openbsd.org/arc4random_buf) | +| Solaris | /dev/urandom |