Function gnunet_sys::GNUNET_CRYPTO_hash[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_hash(
    block: *const c_void,
    size: usize,
    ret: *mut GNUNET_HashCode
)

@ingroup hash Compute hash of a given block.

@param block the data to hash @param size size of the @a block @param ret pointer to where to write the hashcode