Commit Graph

2 Commits

Author SHA1 Message Date
dsmurrow b5b2218e60
feat: added Affine Cipher (#1245)
* feat: added affine cipher

* chore: applied clang-format

* docs: fixed typo

Co-authored-by: Sharon "Cass" Cassidy <monadicdiffusive@proton.me>

* docs: added brief qualifier

Co-authored-by: Sharon "Cass" Cassidy <monadicdiffusive@proton.me>

* chore: added const qualifier to test_string input

* test: added checks for correct ciphertext

* chore: removed asserts in modular_multiplicative_inverse and defined the ASCII conversion character

* removed previous_remainder variable in modular_multiplicative_inverse()

* chore: added brackets

Co-authored-by: David Leal <halfpacho@gmail.com>

* chore: made test function static

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: added back quotes to variable `a`

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: added back quotes to more variables

Co-authored-by: David Leal <halfpacho@gmail.com>

* chore: Added capitalization to string indicating passing tests

Co-authored-by: David Leal <halfpacho@gmail.com>

* chore: apply suggestions from code review

---------

Co-authored-by: Sharon "Cass" Cassidy <monadicdiffusive@proton.me>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-04-13 15:33:42 -06:00
dsmurrow f3a3e6d476
chore: created new subdirectory for cryptographic ciphers (#1237)
* chore: moved rot13.c to cipher directory

* chore: added CMakeLists.txt for /cipher

* chore: added /cipher to root CMakeLists.txt
2023-03-29 14:42:08 -06:00