libhide implementation