import javax.crypto.spec.SecretKeySpec
import javax.crypto.Cipher
class CryptoTests extends GroovyTestCase {
void testCryptoInit() {
byte[] kbytes = "12345678".getBytes();
SecretKeySpec key = new SecretKeySpec(kbytes, "Blowfish");
Cipher cipher = Cipher.getInstance("Blowfish");
cipher.init(Cipher.DECRYPT_MODE, key);
}
}
http://www.jetbrains.net/confluence/display/GRVY/How+to+build+plugin