[slib] Implementation of hashtable.