Handy function for generating MD5 hash for strings directly from Scala console, just paste this into console:

def md5Hash(text: String) : String = java.security.MessageDigest.getInstance("MD5").digest(text.getBytes()).map(0xFF & _).map { "%02x".format(_) }.foldLeft(""){_ + _}

Then call md5Hash("Hash this Text!").