0
CngKey key = CngKey.Create(CngAlgorithm.ECDiffieHellmanP521, null,
   new CngKeyCreationParameters { ExportPolicy = CngExportPolicies.AllowPlaintextExport });    
byte[] keyBlob= key.Export(CngKeyBlobFormat.EccPrivateBlob);

keyBlob の長さは 206 です。その形式は何ですか? 32 バイトの秘密鍵と 64 バイトの公開鍵は何バイトですか?

どこかから CngKey に公開キーをインポートしますか? 、長さは 4+4+64+32=104 です。

4

1 に答える 1