Fix bug where we treat X and Y as each other.
PHPSecLib encodes the points opposite of what we expected. This broke serialisation of the public key. This fixes that.
PHPSecLib encodes the points opposite of what we expected. This broke serialisation of the public key. This fixes that.