private static boolean isEncryptedPassword(String password) {
    if (password == null) {
      return false;
    }
    return password.startsWith("encrypted(") && password.endsWith(")");
  }
Decrypts an encrypted password string.

@param password String to be decrypted (format: `encrypted(password_to_decrypt)`)
@return String decrypted String
geode-core/src/main/java/org/apache/geode/internal/util/PasswordUtil.java