Sort:  

The username isn't the public key. The username is the account designation. The keys are generated in public/private pairs. For each private key you also have assigned a public key, which enables the platform to verify your private key when you login on that platform.

I thought the username use a lookup for the public key within the hive system, it's not then?
Cheers for the correction.