User-controlled cyber-security using automated key generation