Fixed a memory copy bug

I used strncpy which stops at null characters. Instead I should have used memcpy to copy the user input into the ed25519 variables.