This will generate a private and public key pair for the EOS chain. The code is not mine. It is forked from the code the EOS team built. The difference is that this works in any browser without the web3 dependency. It will work in any browser and you don't need any plugins.