2526272829303132333435
String k = c.getLatestKeyId(); assertEquals("latest key chosen", "999999999999", k); byte[] ct = c.encrypt(s, k); String pt = c.decrypt(ct, k); assertEquals("encrypt-decrypt OK", s, pt);