This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
component:data [2019/03/09 15:59] is2511 [Tier 3 Callbacks] |
component:data [2019/03/09 16:14] is2511 [Tier 3 Callbacks] |
||
---|---|---|---|
Line 47: | Line 47: | ||
verifies the signature using the public key and the previously generated | verifies the signature using the public key and the previously generated | ||
generated signature string. and the original string. | generated signature string. and the original string. | ||
- | - `ecdh(privateKey:userdata, publicKey:userData):string` | + | - `ecdh(privateKey:userdata, publicKey:userdata):string` |
Generates a Diffie-Hellman shared key using the first user's private key and | Generates a Diffie-Hellman shared key using the first user's private key and | ||
the second user's public key. An example of a basic key relation: | the second user's public key. An example of a basic key relation: |