 +                StringBuilder logMessage = new StringBuilder();
 +                logMessage.append("DO NOT SUBMIT derivePassword");
 +                logMessage.append(" personalization: ");
-+                logMessage.append(personalization);
++                logMessage.append(SyntheticPasswordCrypto.bytesToHex(personalization));
 +                logMessage.append(" context: ");
 +                logMessage.append(SyntheticPasswordCrypto.bytesToHex(PERSONALISATION_CONTEXT));
 +                byte[] res = (new SP800Derive(syntheticPassword.getBytes()))

From bd84acd97787d76bd87d42b7a8dbc1e164583112 Mon Sep 17 00:00:00 2001
From: Branden Archer <brarcher@google.com>
Date: Thu, 6 Aug 2020 22:54:29 -0700
Subject: [PATCH] Add logging for SP800-derived passwords too


                 return SyntheticPasswordCrypto.personalisedHash(personalization,
                         syntheticPassword.getBytes());
-- 
2.28.0.220.ged08abb693-goog
