### Question:
EncryptionUtil { public static Credentials generateCredentials() throws NoSuchAlgorithmException { CustomerCredentials toUse = new CustomerCredentials(); toUse.setApiKey(convertToHex(randomSeed())); toUse.setSecretKey(convertToHex(randomSeed())); return toUse; }  static Request<T> encipher(Request<T> request, Credentials credentials); static Credentials generateCredentials(); static String toSHA1(String unencrypted); static final String CIPHER; static final int SEEDSIZE; }### Answer:
@Test public void testGenerateCredentials() throws NoSuchAlgorithmException{ Credentials credentials = EncryptionUtil.generateCredentials(); Assert.assertNotNull(credentials); Assert.assertNotNull(credentials.getApiKey()); Assert.assertNotNull(credentials.getSecretKey()); Assert.assertFalse(credentials.getApiKey().isEmpty()); Assert.assertFalse(credentials.getSecretKey().isEmpty()); System.out.println(credentials.getApiKey()); System.out.println(credentials.getSecretKey()); }