Added libsodium hook