TheAlgorithms-C/cipher
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
..
CMakeLists.txt chore: created new subdirectory for cryptographic ciphers (#1237) 2023-03-29 14:42:08 -06:00
affine.c feat: added Affine Cipher (#1245) 2023-04-13 15:33:42 -06:00
rot13.c chore: created new subdirectory for cryptographic ciphers (#1237) 2023-03-29 14:42:08 -06:00