Legal technologies and cyber security in the singularity age