Exemplo n.º 1
0
 public static extern uint NCryptDeriveKey(SafeNCryptSecretHandle hSharedSecret,
                                           string kdf,
                                           NCryptBufferDesc parameterList,
                                           byte[] derivedKey,
                                           uint derivedKeyByteSize,
                                           out uint result,
                                           uint flags);
Exemplo n.º 2
0
 public static extern uint NCryptSecretAgreement(SafeNCryptKeyHandle hPrivKey,SafeNCryptKeyHandle hPublicKey,out SafeNCryptSecretHandle phSecret,uint flags);