pub trait SipHash {
    fn set_keys(&self, k0: u64, k1: u64) -> Result<(), ErrorCode>;

Required Methods

Optionaly call before Hasher::run() to specify the keys used The possible ErrorCodes are:

  • BUSY: The system is busy
  • ALREADY: An operation is already on going
  • INVAL: An invalid parameter was supplied
  • NOSUPPORT: The operation is not supported