encrypt idobata hookid