Added random confirmation hash generator