Jenkins Decrypt Password Script Console

for standard secrets:
println(hudson.util.Secret.decrypt("{XXX=}"))

for SecretBytes:
println(new String(com.cloudbees.plugins.credentials.SecretBytes.fromString("{....}").getPlainData(), "ASCII"))
Google's Top Recommendation