Refactor SSH key generation and fix PEM encoding
Use sodium.to_base64 for binary-safe base64 encoding and add a
trailing newline to PEM output. Extract publicLineFromPublicKey for
openSSH public lines, make buildOpenSSHEd25519PrivateKey accept a 32
byte seed (construct privateKey64 internally), inline randomU32 with
crypto.getRandomValues, and apply small formatting/cleanup changes.