implemented attack RNG