5 Commits

Author SHA1 Message Date
Vikas
1d1ea4e6bf Add http handler unit test 2024-06-24 11:08:28 +05:30
Vikas
a22b6a3444 Add db and crypto tests; fix minor bugs 2024-06-23 15:02:26 +05:30
Vikas
eec79dc9d9 Improve encryption/decryption
- Use crypto.rand. Relying on math.rand does not ensure true randomness.
- Bas64 encode random bytes instead of generating keys using a fixed set of letters.
- Based on reddit feedback: https://www.reddit.com/r/golang/comments/1d73vsl/comment/l6xmtja/
2024-06-23 12:18:37 +05:30
Vikas
0f23e11414 Add ability to configure the application; reset db; better logging 2024-06-02 19:42:26 +05:30
Vikas
a124c1b0be initial commit; working state 2024-06-02 10:33:54 +05:30