I am having the following code to get the hash value of *String*:

```
package encryption;
import java.security.MessageDigest; 
public class MessageDigestExample {

    public static void main(String[] args)throws Exception{
        String input = "This is a message";
        MessageDigest hash = MessageDigest.getInstance("SHA1");
        System.out.println("input : " + input);
        hash.update(Utils.toByteArray(input));
        System.out.println("digest : " + Utils.toHex(hash.digest()));
        } } 

```

I am getting this exception at the moment:

```
Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
    Utils cannot be resolved
    Utils cannot be resolved

```

I added apache-storm-1.2.2 lib, but does not work,

Any help, please!