I'm trying to right some simple tools to work with Nxt, in C#. This is basically an exercise in learning about the coin, more than providing any specific tools.
Anyway, I'm having a tough time generating an account number, and I know that I'm essentially executing SHA256(Curve25519(SHA256(privateKey))), just from within .Net. However, when I convert the first 8 bytes of the resulting byte array (from the final SHA256 call,) my outputted address is not the address that's calculated from the Nxt client.
I'm not sure where the breakdown is, but it would be helpful if I could get the public key that is outputted from the Curve function. Can I acquire this information from the client?