compute_signature

Function compute_signature 

Source
pub fn compute_signature(
    private_key: &[u8],
    commitment: &[u8],
    merkle_path: &[u8],
) -> Result<Vec<u8>, JsValue>
Expand description

Compute signature: hash(privateKey, commitment, merklePath)