tangtaoit 7b0c1bc743 init
2023-05-25 10:32:00 +08:00

23 lines
457 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// WKNOGeneraterUtil.h
// WuKongIMSDK
//
// Created by tt on 2020/6/1.
//
#import <Foundation/Foundation.h>
/**
* 为一段data创建唯一的64位数据签名
*
* @param[in] psrc src data
* @param[in] slen data的长度
* @return 操作结果
* - 1 成功
* - -1 失败
* @note 异常情况:
* - if slen<0有可能出现程序异常
* - if slen==0sign = 0:0
*/
uint64_t get_sign64 (const char* psrc, int slen);