### Question:
TrustAddressGenerator { public static String getRevokeAddress(String contractAddress, String digest) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException { return preimageToAddress((contractAddress + "REVOKE" + digest).getBytes()); }  static String getTrustAddress(String contractAddress, String digest); static String getRevokeAddress(String contractAddress, String digest); static String preimageToAddress(byte[] preimage); static void main(String args[]); Response DeriveTrustAddress(Request req); static final byte[] masterPubKey; }### Answer:
@Test public void generateRevokeAddress() throws Exception { String revokeAddress = TrustAddressGenerator.getRevokeAddress("0x63cCEF733a093E5Bd773b41C96D3eCE361464942", digest); assert(revokeAddress.equals("0x6b4c50938caef365fa3e04bfe5a25da518dba447")); }