PRG implies PRF