Find KeyGenerator.getInstance("DES") calls

Proprietary

Generating a DES key feeds a known-broken cipher. Use KeyGenerator.getInstance("AES").apply { init(256) } instead.

org.openrewrite.kotlin.security.FindKeyGeneratorDes$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.security.FindKeyGeneratorDes$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.