Using libsodium for custom hash and custom random