PHP OO Hash library