Find SecretKeySpec(_, "DES") constructions
ProprietaryA SecretKeySpec tagged for "DES" will only feed Cipher.getInstance("DES") — the algorithm name flows through the JCE provider lookup. Replace with "AES" and a 256-bit key.
org. openrewrite. kotlin. security. FindSecretKeySpecDes$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindSecretKeySpecDes$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.