add new birthday attack functions