[][src]Function cryptoballot::decrypt_vote

pub fn decrypt_vote(
    election_key: &SecretKey,
    encrypted_vote: &[u8]
) -> Result<Vec<u8>, Error>

Decrypt the vote from the given recovered decryption key.

encrypted_vote is taken from VoteTransaction::encrypted_vote.