42 Commits

Author SHA1 Message Date
41f767ef94 Add XOR Cipher (#5490) 2024-10-04 16:10:18 +00:00
87b17e0571 style: enable NeedBraces in checkstyle (#5227)
* enable style NeedBraces

* style: enable NeedBraces in checkstyle

---------

Co-authored-by: Samuel Facchinello <samuel.facchinello@piksel.com>
2024-06-13 21:00:16 +02:00
be38886d43 style: enable OperatorWrap in checkstyle (#5212) 2024-06-08 09:36:42 +02:00
a6e873deef style: enable MemberName in checkstyle (#5193)
* style: enable MemberName in checkstyle

* style: simply uncomment `MemberName`

---------

Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-05-29 20:44:14 +00:00
25d711c5d8 style: enable LocalVariableName in CheckStyle (#5191)
* style: enable LocalVariableName in checkstyle

* Removed minor bug

* Resolved Method Name Bug

* Changed names according to suggestions
2024-05-28 20:29:28 +02:00
70c1d97ab1 style: include SPP_TOSTRING_ON_STRING (#5183) 2024-05-28 02:37:20 +05:30
295e7436b1 style: enable MethodName in CheckStyle (#5182)
enabled: MethodName in CheckStyle
2024-05-27 09:06:06 +02:00
ea4dc15a24 style: do not suppress try (#5167) 2024-05-27 03:02:36 +05:30
9eaa2bb756 style: enable MultipleVariableDeclarations in checkstyle (#5175)
Co-authored-by: vaibhav <vaibhav.waghmare@techprescient.com>
2024-05-25 20:18:27 +02:00
44ce6e7b0d style: enable StaticVariableName in checkstyle (#5173)
* style: enable StaticVariableName in checkstyle

* Refractored: enable StaticVariableName in checkstyle

* style: mark more variables as `final`

---------

Co-authored-by: vaibhav <vaibhav.waghmare@techprescient.com>
Co-authored-by: vil02 <vil02@o2.pl>
2024-05-25 14:09:14 +00:00
8be8b953ab style: do not suppress this-escape (#5166) 2024-05-20 16:09:23 +00:00
0f42e995a4 style: enabled InnerAssignment in checkstyle (#5162)
* style: enabled InnerAssignment in checkstyle

* Refactor code formatting in KnapsackMemoization.java and UnionFind.java

* style: remove redundant blank line

* style: mark `includeCurrentItem` and `excludeCurrentItem` as `final`

* style: remove `KnapsackMemoization` from `pmd-exclude.properties`

* style: use `final`

---------

Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-05-16 16:46:03 +00:00
52f15b2b08 style: include RV_RETURN_VALUE_IGNORED (#5152) 2024-05-09 15:23:22 +00:00
d2ddec55e5 style: include NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION (#5149)
* style: use `assertFalse` and `assertTrue`

* style: include `NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION`
2024-05-08 22:41:46 +05:30
d3bb691f59 style: enable HideUtilityClassConstructor in checkstyle (#5147) 2024-05-08 09:58:29 +03:00
bfb27eeb59 style: enable ArrayTypeStyle in checkstyle (#5145) 2024-05-06 22:49:52 +03:00
414835db11 style: enable AvoidStarImport in checkstyle (#5141) 2024-05-05 20:48:56 +02:00
1e2d7e9431 style: enable ConstantName in checkstyle (#5139)
Co-authored-by: Maria Paszkiewicz SCC <maria.paszkiewicz@kit.edu>
2024-05-02 18:31:37 +02:00
ab371843ac Close Scanner to avoid resource leak (#5077) 2024-03-12 19:49:58 +01:00
9bef5a169c Add Playfair Cipher (#4988) 2024-01-03 15:14:38 +02:00
7ece806cf5 Remove duplicate file of Simple Substitution Cipher (fixes #4494) (#4495) 2023-12-26 00:24:28 +02:00
8002137b76 Fixed some typos and links for javadoc, and some refactoring (#4755) 2023-10-15 19:32:24 +05:30
415a04ea7f Add automatic linter (#4214) 2023-06-09 20:05:14 +08:00
00282efd8b style: format code (#4212)
close #4204
2023-06-09 18:52:05 +08:00
fb18c27905 Add wiki link for DES (#4173) 2023-04-30 22:22:19 +03:00
19bd2408ff Des (#4172)
* Update directory

* Add DES Encryption algorithm

* Update directory

---------

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-04-30 20:19:14 +05:30
1dc388653a Refactor Code Style (#4151) 2023-04-15 11:25:54 +03:00
ad72c28d91 Remove unnecessary code (#4141) 2023-04-03 22:35:59 +08:00
54d6f79acd Add SimpleSubstitutionCipherTest (#3857) 2023-01-17 22:05:24 +02:00
c8ecd23183 Constructors BigInteger and BigDecimal used to wrap primitives should never be used. (#3627)
Constructors BigInteger and BigDecimal used to wrap primitives should never be used.

Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
2022-11-06 17:40:14 +05:30
cc17d60d5c Add unit tests for SimpleSubCipher (#3688) 2022-11-06 10:21:22 +00:00
8c6ed9c240 Add unit test for RSA cipher (#3664) 2022-10-26 09:10:27 +08:00
f8897f166d Add unit tests for Caesar cipher (#3665)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-10-26 09:01:35 +08:00
7ef75980d5 Add unit tests for Vigenere cipher (#3666) 2022-10-26 08:57:51 +08:00
f2e0126469 Use GCM mode in AES (fixes #3324) (#3325) 2022-10-18 21:24:25 +03:00
e96f567bfc Format code with prettier (#3375) 2022-10-03 17:23:00 +08:00
e4eb99ff18 Add A5 Cipher (#3292) 2022-09-27 16:33:13 +00:00
199c85d191 Add Polybius Cipher (#3185) 2022-07-11 15:15:14 +00:00
f9b788f7f4 Add Blowfish Algorithm (#3052) 2022-05-18 20:29:31 +03:00
1d5d672fbd Refactor to remove code smells (#2982)
Co-authored-by: Rushi <rs397441@dal.ca>
2022-03-21 20:35:11 +02:00
549a27a327 Add bruteforce to the caesar cipher (#2887) 2022-01-01 23:16:53 +02:00
9fb3364ccc Change project structure to a Maven Java project + Refactor (#2816) 2021-11-12 08:59:36 +02:00