BSD Ports

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

SystemPortVersion
FreeBSDsecurity/p5-Crypt-Dining1.01_1
DragonFlysecurity/p5-Crypt-Dining1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.01_11.01_11.01_1-1.01_1
FreeBSD:14:quarterly1.01_11.01_1n/a1.01_11.01_1
FreeBSD:15:latest1.01_11.01_1n/a--
FreeBSD:15:quarterly1.01_11.01_1n/an/an/a
FreeBSD:16:latest1.01_11.01_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

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
FileSizeSHA256
Crypt-Dining-1.01.tar.gz48338bd751c90746fb9f95663f2c323ba3cd7d9513726d7d11cd576689a12feaf453
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.