I have one question about the ECDSA signature scheme.
When Bob wants to send a message to Alice that is to be signed she makes following things (with for example $A = (5,1)$, $d=7$, $q=19$).
compute hash of message $h(x) =26$
choose ephemeral key $k_E = 10$
$R = k_E · A = 10 · (5,1) = (7,11)$
$r = x_R = 7$
$s = (h(x)+d · r)·k_E^{−1} \bmod q = (26+7 · 7) · 2 ≡ 17 \bmod 19$
Formula of 5 step is: $ s ≡ (h(x)+d·r)·k_E^{−1} \bmod q.$
We have $k_E = 10$, so why is $k_E^{−1} = 2$?