Added deterministic signing