I am new to Jython. I have a .net code which i need to convert to Jython. so that i can use with grinder performance testing tool.

the c# code looks like this

byte[] data = md5.ComputeHash(Encoding.UTF8.GetBytes(input));

Is there a way to do UTF8 Encoding and do a MD5 hash on it.