Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
component:data [2019/03/09 15:59]
is2511 [Tier 3 Callbacks]
component:data [2020/01/05 02:32]
is2511 [Tier 3 Callbacks] duplicate "generated", extra dot, second "and" -> ","
Line 45: Line 45:
 - `ecdsa(data:​string,​ key:​userdata[,​ sig:​string]):​string or boolean`  ​ - `ecdsa(data:​string,​ key:​userdata[,​ sig:​string]):​string or boolean`  ​
   Generates a signiture of data using a private key. If signature is present  ​   Generates a signiture of data using a private key. If signature is present  ​
-  verifies the signature using the public key and the previously generated ​  +  verifies the signature using the public keythe previously generated ​  
-  ​generated ​signature stringand the original string. +  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:  ​