
Chapter 12 Device Logic (Pawn)
native MD5(data{}, len, hash{16}, ctx[TMD5_Ctx] = [0]);
Calculates the MD5 hash for the transferred data. If the hash for a data block should be calculated by
calling up this function several times (e.g. when receiving data in blocks), then the same context
structure must be transferred every time the function is called up. The context structure must not be
changed between function call-ups. If the hash can be calculated by calling up the function once (e.g.
complete data block is already available), then it is not necessary to transfer its own context structure.
Parameter
Explanation
data
Array that contains the data for which the MD5 hash should be calculated
len
Number of bytes that must be taken into consideration during the calculation
hash
Array to store the calculated 128-bit hash value
ctx
Context structure for the MD5 calculation – OPTIONAL
Explanation
Return value
---
12.3.13 Various
12.3.13.1 Arrays with symbolic indices
TablePoint
Two-column reference point table, integer data type
// key
Column that is searched
// value
Column with the result values that need to be returned
#define TablePoint[.key, .value]
TablePointF
Two-column reference point table, float data type
// key
Column that is searched
// value
Column with the result values that need to be returned
#define TablePointF[Float:.key, Float:.value]
Rev. 01
137
Содержание myDatalogEASY IoTmini
Страница 2: ......
Страница 11: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 11 ...
Страница 12: ......
Страница 34: ......
Страница 66: ......
Страница 78: ......
Страница 82: ......
Страница 186: ......
Страница 194: ......
Страница 196: ......
Страница 202: ......
Страница 205: ...Chapter 19 Document history Chapter 19 Document history Rev Date Changes 01 28 08 2020 First version Rev 01 205 ...
Страница 206: ......
Страница 208: ......