Commit Graph

9 Commits

Author SHA1 Message Date
bcae51ead9 c,python: Use little-endina byte order for bigint arithmetics
This better matches what one would expect from the hex or base64
(upcoming) formats.
2021-11-15 01:13:17 +01:00
cc473f4c24 c,python: Change the algorithm for hashing the master password to Argon2 2021-11-14 09:59:51 +01:00
c869c79619 c: Implement the CLI tool
The CLI tool should have feature parity with the Python equivalent.

Both implementations generate the same hashes so the algorithm seems to
be sound.
2021-11-14 09:17:41 +01:00
f927eea9aa c: Implement the passgeny module.
This is the C implementation of the passgeny library.
2021-11-14 09:16:34 +01:00
67ec1180dd c: Implement the C implementation of the bhash module 2021-11-14 09:15:55 +01:00
560db14a85 c: Finish the phogen module
This commit implements the `phogen_encode` function, which takes a bhash
as argument and generates a phonetic string.
2021-11-14 09:12:20 +01:00
638f1771a8 meson: Setup the Meson build infrastructure 2021-09-28 11:36:20 +02:00
9d3ffdadf5 c: Add skeleton filesfor the CLI tool
This is prep work for the moving to Meson.
2021-09-28 11:36:20 +02:00
50b0758ffc phogen: Add the C implementation of the phoentic generator 2021-09-28 11:36:20 +02:00