Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

compute_s

Computes k + x*c mod (CURVE ORDER). The inputs should be in curve order.

Fully qualified path: she::utils::compute_s

pub fn compute_s(k: felt252, x: felt252, c: felt252) -> felt252