public static String hashSecretContent(Secret secret) {
        if (secret == null) {
            throw new RuntimeException("Secret not found");
        }
        
        if (secret.getData() == null || secret.getData().isEmpty()) {
            throw new RuntimeException("Empty secret");
        }
        
        StringBuilder sb = new StringBuilder();
        secret.getData().entrySet().stream()
            .sorted(Map.Entry.comparingByKey())
            .forEach(entry -> sb.append(entry.getKey()).append(entry.getValue()));
        
        return Util.hashStub(sb.toString());
    }
@Test
    public void testHashSecretContent() {
        Secret secret = new SecretBuilder()
            .addToData(Map.of("username", "foo"))
            .addToData(Map.of("password", "changeit"))
            .build();
        assertThat(ReconcilerUtils.hashSecretContent(secret), is("756937ae"));
    }