hmac

    2热度

    4回答

    我正在尝试使用sha-512来计算hmac。 Perl代码: use Digest::SHA qw(hmac_sha512_hex); $key = "\x0b"x20; $data = "Hi There"; $hash = hmac_sha512_hex($data, $key); print "$hash\n"; ,并给出了 87aa7cdea5ef619d4ff0b4241