why not copying the implementation of the Arrays.hashcode(byte[])?? 

int result = 1;
        for (byte element : a)
            result = 31 * result + element;