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 [2016/12/08 20:52] solra_bizna Tell which callbacks are at which tier |
component:data [2019/03/09 15:59] is2511 [Tier 3 Callbacks] |
||
---|---|---|---|
Line 50: | Line 50: | ||
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: | ||
- | `ecdh(userA.private, userB.public) == ecdh(userB.private, usera.public)` | + | `ecdh(userA.private, userB.public) == ecdh(userB.private, userA.public)` |
- `deserializeKey(data:string, type:string):table` | - `deserializeKey(data:string, type:string):table` | ||
Transforms a key from string to it's arbitrary type. | Transforms a key from string to it's arbitrary type. |