Secret santa program in C
C 60.5%
Rust 39.5%
3 1 0

Clone this repository

https://tangled.org/oyster.cafe/secret-santa https://tangled.org/did:plc:3fwecdnvtcscjnrx2p4n7alz/secret-santa
git@tangled.org:oyster.cafe/secret-santa git@tangled.org:did:plc:3fwecdnvtcscjnrx2p4n7alz/secret-santa

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

secret-santa#

Simple secret santa program in C, outputting a base64-encoded list of recievers that can be pasted to the corresponding givers.

Using libb64's impl of encoding.

Usage#

> gcc -o secret_santa main.c
> echo "albert bobby colin" | ./secret_santa
Seed: 12345
colin: (base 64 encoding of the word bobby)
albert: (base 64 encoding of the word colin)
bobby: (base 64 encoding of the word albert)

Arguments#

-s seed, for replicability. -d decode/debug, leave the recipients as plaintext.