2kindsofcs
e64e3df18f
fix: CodeQL warnings ( #1827 )
...
* fix: CodeQL warnings
* clang-format and clang-tidy fixes for 4d357c46
* clang-format and clang-tidy fixes for 72322fb7
* accept suggestion
* clang-format and clang-tidy fixes for 9a4dc07c
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-11-07 11:49:33 -06:00
Lajat5
b3a0070a74
feat: Reworked/updated sorting/selection_sort.cpp. ( #1613 )
...
* Reworked selection_sort.cpp with fixes.
* Added Recursive implementation for tree traversing
* Fix #2
* Delete recursive_tree_traversals.cpp
* Update selection_sort.cpp
* Changes done in selection_sort_iterative.cpp
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 4681e4f7
* Update sorting/selection_sort_iterative.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/selection_sort_iterative.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update selection_sort_iterative.cpp
* Update sorting/selection_sort_iterative.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/selection_sort_iterative.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-format and clang-tidy fixes for ca2a7c64
* Finished changes requested by ayaankhan98.
* Reworked on changes.
* clang-format and clang-tidy fixes for f79b79b7
* Corrected errors.
* Fix #2
* Fix #3
* Major Fix #3
* clang-format and clang-tidy fixes for 79341db8
* clang-format and clang-tidy fixes for 9bdf2ce4
* Update selection_sort_iterative.cpp
* clang-format and clang-tidy fixes for 9833d7a7
* clang-format and clang-tidy fixes for b7726460
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-10-25 13:17:33 -05:00
Focus
5b78538570
feat: added a1z26 cipher ( #1775 )
...
* feat: added a1z26 cipher
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 6e5b6be0
* Update ciphers/a1z26_cipher.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-format and clang-tidy fixes for 36edde81
* fix: brace style
Co-authored-by: David Leal <halfpacho@gmail.com>
* [feat/fix]: uses uint8_t for maps instead of int
* clang-format and clang-tidy fixes for ef211d41
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-22 11:18:41 +05:30
Focus
692135b480
feat: added atbash cipher ( #1760 )
...
* feat: add atbash_cipher
* [test/fix]: test case expected result
* docs: added comments for main and test function
* doc: changed brief for test function
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* doc: fixed test comment
Co-authored-by: David Leal <halfpacho@gmail.com>
* [feat/fix]: made test function static
Co-authored-by: David Leal <halfpacho@gmail.com>
* doc: added author comment
Co-authored-by: David Leal <halfpacho@gmail.com>
* fix: brace style
Co-authored-by: David Leal <halfpacho@gmail.com>
* doc: modified file description and added comments for test function
* doc: added comment for #include <iostream>
Co-authored-by: David Leal <halfpacho@gmail.com>
* doc: added description of the algorithm
* Update ciphers/atbash_cipher.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/atbash_cipher.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/atbash_cipher.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/atbash_cipher.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* fix: Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-10-18 19:54:00 -05:00
Ashish Bhanu Daulatabad
d9a97f106f
Feat: Implementation of Elliptic Curve Diffie Hellman Key Exchange. ( #1479 )
...
* updating DIRECTORY.md
* Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers
* updating DIRECTORY.md
* Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling
* Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling
* Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling-2
* Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling-bit handling
* Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling-bit handling
* Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling-bit handling
* Type checks and destructor added
* Type checks and integer shift checked
* clang-format and clang-tidy fixes for 276fde9d
* Comment modification
* clang-format and clang-tidy fixes for ae6a048d
* Comment modification
* Wrong return
* clang-format and clang-tidy fixes for bb40ea4c
* Type checks
* windows error
* clang-format and clang-tidy fixes for 2c41f111
* Error handling
* Error handling-2
* Comments
* Comment modifications
* Update ciphers/uint128_t.hpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Comment modifications-2
* Comment modifications-3
* Empty commit
* Comments
* Additional comments
* clang-format and clang-tidy fixes for f7daaa15
* Empty commit for build
* Additional test correction and comment modification
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-04-14 11:04:01 +05:30
Ashish Bhanu Daulatabad
0a596dd7aa
feat: Base64 Encoding/Decoding, type: Ciphers ( #1471 )
...
* updating DIRECTORY.md
* Feat: Base64 Encoding Decoding, Type: cipher
* Feat: Base64 Encoding Decoding, Type: cipher-2
* Type checks
* updating DIRECTORY.md
* Wrong param explaination
* Namespace and comments
* Update ciphers/base64_encoding.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/base64_encoding.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-03-31 10:46:54 +05:30
Deep Raval
7f97119f8a
feat: Added Morse Code ( #1322 )
...
* Added Morse Code
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 7ff8c973
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 16:25:28 -05:00
Deep Raval
794e1765bd
docs: Fixed an issue in Vigenere cipher documentation ( #964 )
...
* Fixed a doxygen doc issue
* Chnaged ||key| < |text| to |key| < |text|
2020-07-21 07:41:05 -04:00
Deep Raval
cf562f2244
feat: Add Vigenère cipher ( #962 )
...
* Added Vigenere Cipher
* Added size_t instead of int in for loop
* Update ciphers/vigenere_cipher.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update ciphers/vigenere_cipher.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-07-20 13:50:40 -04:00
Deep Raval
7f92f54bde
feat: Add XOR Cipher ( #961 )
...
* Added XOR Cipher
* Remoced repetition of c ^ key in encrypt
* Added explicit type conversion
* Applied Suggested Changes
* Added bullet points
2020-07-19 16:45:45 -04:00
Deep Raval
01581bfd5b
feat: add Caesar Cipher ( #957 )
...
* Added caesar_cipher.cpp
* Added ranged based loops and made some args pass by ref
* Changed comment styling and added unnamed namespace
* Update ciphers/caesar_cipher.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-07-19 14:50:02 -04:00
Krishna Vedala
12799c5616
fix lgtm errors
2020-06-27 16:00:12 -04:00
Krishna Vedala
e8849dc36f
save keys to file + more docs
2020-06-27 15:45:48 -04:00
Krishna Vedala
541f762deb
working algorithm
2020-06-27 14:43:11 -04:00
Krishna Vedala
fc489f7f45
test2 + refinements
2020-06-26 23:42:16 -04:00
Krishna Vedala
f932aed5d2
more docs + more control on matrix creation
2020-06-26 22:02:21 -04:00
Krishna Vedala
bade62d063
working hill cipher
2020-06-26 21:44:02 -04:00
Krishna Vedala
db28999ca3
initial hill-cipher commit - does not execute corectly
2020-06-26 20:36:46 -04:00
Krishna Vedala
7218eeb5b8
initial cipher folder commit
2020-06-26 20:36:03 -04:00