security/p5-Crypt-Dining 1.01_1 FreeBSD
The Dining Cryptographers' Protocol
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- security, perl5
- Package size
- 6.5 KiB, 9.6 KiB installed
Description
The dining cryptographers' protocol is documented in Bruce Schneier's book as a kind of "cryptographic ouija board". It works as follows:
A number of cryptographers are dining at a circular table. At the end of the meal, the waiter is summoned and asked for the bill. He replies, "Thank you, sir. The bill has been paid." The cryptographers now have the problem of working out whether someone at the table paid the bill, or whether the NSA has paid it as some sort of veiled threat. The protocol proceeds.
Each cryptographer flips a coin, and shows the result ONLY to the participant on his RIGHT. Each cryptographer then compares his coin with that on his LEFT, and raises his hand if they show different faces. If any participant paid the bill, he "cheats" and does the opposite, that is, he raises his hand if the coins show the same face. Now, the hands are counted. An odd number means that someone at the table paid the bill. An even number means that the NSA paid.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/p5-Crypt-Dining | 1.01_1 |
| DragonFly | security/p5-Crypt-Dining | 1.01_1 |
Install
Binary package:
pkg install p5-Crypt-Dining
From the ports tree:
cd /usr/ports/security/p5-Crypt-Dining/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Crypt-Dining>0:security/p5-Crypt-Dining
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.01_1 | 1.01_1 | 1.01_1 | - | 1.01_1 |
| FreeBSD:14:quarterly | 1.01_1 | 1.01_1 | n/a | 1.01_1 | 1.01_1 |
| FreeBSD:15:latest | 1.01_1 | 1.01_1 | n/a | - | - |
| FreeBSD:15:quarterly | 1.01_1 | 1.01_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.01_1 | 1.01_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Crypt-Random>=0: security/p5-Crypt-Randomp5-Net-Address-IPv4-Local>=0: net/p5-Net-Address-IPv4-Local
Runtime 2
p5-Crypt-Random>=0: security/p5-Crypt-Randomp5-Net-Address-IPv4-Local>=0: net/p5-Net-Address-IPv4-Local
The full lists below include those, and their dependencies in turn.
Build dependencies 9
Run dependencies 9
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Crypt::Dining.3.gz
- %%SITE_PERL%%/Crypt/Dining.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Crypt-Dining-1.01.tar.gz | 4833 | 8bd751c90746fb9f95663f2c323ba3cd7d9513726d7d11cd576689a12feaf453 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.