Compute package path hash by XOR.

Removed openssl dependency.