Class F
- java.lang.Object
-
- io.heraldprox.herald.sensor.payload.simple.F
-
public class F extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description F()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static Data
hash(Data data)
Cryptographic hash function : SHA256protected static Data
truncate(Data data)
Truncation function : Delete second half of dataprotected static Data
truncate(Data data, int n)
Truncation function : Retain first n bytes of dataprotected static Data
xor(Data left, Data right)
XOR function : Compute left xor right, assumes left and right are the same length
-