A “dangerous paedophile” pretended to be a teenager online to rape a girl in Newhaven.