Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/santerijps/finssn
A set of tools for generating Finnish social security numbers.
https://github.com/santerijps/finssn
c generator random ssn
Last synced: 2 days ago
JSON representation
A set of tools for generating Finnish social security numbers.
- Host: GitHub
- URL: https://github.com/santerijps/finssn
- Owner: santerijps
- License: cc0-1.0
- Created: 2024-04-30T09:54:37.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-04-30T09:55:07.000Z (7 months ago)
- Last Synced: 2024-04-30T11:24:53.264Z (7 months ago)
- Topics: c, generator, random, ssn
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# finssn
`finssn` is a set of tools for generating Finnish social security numbers.
The project is made up from two parts: `finssn-gen` and `finssn-rand`.## Usage
Build the project with `make`:
```bash
cd finssn
make all
```This generates two executables in a newly created `bin` directory.
```text
Usage: finssn-gen [options]Efficiently generates every valid Finnish social security number.
Valid SSN's are generated for birth dates between the years 1800 and 2099 (inclusive).Options:
-h, --help
-q, --quiet (Don't log messages)
-s, --stdout (Print SSNs to stdout)
-o, --out-file {output file path (default = "out.txt")}
--from {inclusive year (default = 1900)}
--to {exclusive year (default = current year + 1)}
``````txt
Usage: finssn-rand [options] fileEfficiently reads random SSNs from a file and
prints them to stdout. The file should contain
SSNs separated by newlines.Options:
-h, --help
-n, --number {number of SSNs to read (default = 1)}
-o, --out-file {output file path (default = stdout)}
```