23,116
社区成员
发帖
与我相关
我的任务
分享
$] echo -n "value" | openssl sha1 -hmac "key"
57443a4c052350a44638835d64fd66822f813319
$] echo -n "value" | openssl sha1 -binary -hmac "key"
WD:L#P?F8?]d?f?/?3
$] echo -n "value" | openssl sha1 -binary -hmac "key" | hexdump -Cv
00000000 57 44 3a 4c 05 23 50 a4 46 38 83 5d 64 fd 66 82 |WD:L.#P.F8.]d.f.|
00000010 2f 81 33 19 |/.3.|
00000014