}
public void test_encryptDecrypt() throws IOException {
ScriptusConfig c = (ScriptusConfig) appContext.getBean("config");
String s = UUID.randomUUID().toString();
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);
}