class RbNaCl::Hash::Blake2b

def update(message)

Parameters:
  • message (String) -- Message to be hashed
def update(message)
  reset unless @incycle
  self.class.generichash_blake2b_update(@instate.pointer, message, message.bytesize) ||
    raise(CryptoError, "Hashing failed!")
end