asp Hmac_SHA256加密计算,是asp调用JavaScript,钉钉签名计算用到 示例:内容=a,密码=a,哈希值:Ps9TiOIg2p4PkZSF3rZ22L7jrsBGp3k1O0Y0GFEe5iI=
2020-01-03 11:41:14 4KB asp Hmac_SHA256 asp hash_hmac
1
sha256码的计算器,用于计算任意文件的sha256码,小巧简便实用
2020-01-03 11:19:25 40KB sha 计算器
1
int main(int argc, char *argv[]) { int i = 0; bool bOnce = true; char szPath[RH_MAX_PATH]; char szAbsPath[RH_MAX_PATH]; char szOrgPath[RH_MAX_PATH]; char szTemp[RH_MAX_BUFFER]; int iErrorCode = 0; CHashManager hashmgr; getcwd(szOrgPath, RH_MAX_PATH); //No arguments? if(argc == 1) { printInfo(); return(RH_NO_ARGS); } memset(szPath, 0, RH_MAX_PATH); bOnce = true; hashmgr.SelectAllAlgorithms(true); for(i = 1; i = RH_MAX_BUFFER) continue; // Non-parsable option argument, ignore fmtArgument(argv[i], szTemp); // Format the argument, i.e. remove all special chars if(strcmp(szTemp, "help" ) == 0) printInfo(); if(strcmp(szTemp, "h" ) == 0) printInfo(); if(strcmp(szTemp, "?" ) == 0) printInfo(); if(strcmp(szTemp, "version" ) == 0) printInfo(); if(strcmp(szTemp, "v" ) == 0) printInfo(); if(strcmp(szTemp, "fullpath") == 0) hashmgr.SetOption(OPT_FULLPATH, true); if(strcmp(szTemp, "f" ) == 0) hashmgr.SetOption(OPT_FULLPATH, true); if(strcmp(szTemp, "nopath" ) == 0) hashmgr.SetOption(OPT_FULLPATH, false); if(strcmp(szTemp, "rcrsv" ) == 0) hashmgr.SetOption(OPT_RECURSIVE, true); if(strcmp(szTemp, "norcrsv" ) == 0) hashmgr.SetOption(OPT_RECURSIVE, false); if(strcmp(szTemp, "recur" ) == 0) hashmgr.SetOption(OPT_RECURSIVE, true); if(strcmp(szTemp, "norecur" ) == 0) hashmgr.SetOption(OPT_RECURSIVE, false); if(strcmp(szTemp, "r" ) == 0) hashmgr.SetOption(OPT_RECURSIVE, true); if(strcmp(szTemp, "all" ) == 0) hashmgr.SelectAllAlgorithms(true); if(strcmp(szTemp, "a" ) == 0) hashmgr.SelectAllAlgorithms(true); if(strcmp(szTemp, "none" ) == 0) hashmgr.SelectAllAlgorithms(false); if(strcmp(s
2019-12-21 22:16:01 275KB 哈希算法 md5 crc sha2
1
VB6.0语言,SHA256哈希算法源码,做成函数,可以直接调用!!
2019-12-21 22:01:44 9KB 源码 VB6.0 SHA256
1
void sha256_get(uint8_t hash[32], const uint8_t *message, int length);/*此函数用于对消息计算摘要值,输入任意大小消息,输出32字节摘要值*/ void hmac_sha256_get(uint8_t digest[32], uint8_t *message, int message_length, uint8_t *key, int key_length);/*此函数用于HMAC_SHA256加密,秘钥任意长度,输出32字节*/
1
webview证书校验,获取证书sha256值
2019-12-21 21:21:08 6KB sha256
1
里面的源码已经验证过,可以正常使用
2019-12-21 21:14:47 18KB AES、RSA
1
MD5-SHA1-SHA256算法源码,C语言实现,并且有测试代码
2019-12-21 20:13:06 366KB MD5 SHA1 SHA256
1
asp版hmac_sha256加密方式,支持中英文,加密结果与java、php、python、js 一毛一样(utf-8编码全世界都是用它)
2019-12-21 20:12:27 5KB asp hmac sha256
1
效果与PHP中的hash_hmac(data,key,true)相同,注释掉return safehashInBase64; 这里可以返回URL安全的base64编码
2019-12-21 20:08:21 290KB ASP HS256
1