{
    "content": [
        {
            "type": "text",
            "text": "# Digest::HMAC_SHA1 (perldoc)\n\n## NAME\n\nDigest::HMACSHA1 - Keyed-Hashing for Message Authentication\n\n## SYNOPSIS\n\n# Functional style\nuse Digest::HMACSHA1 qw(hmacsha1 hmacsha1hex);\n$digest = hmacsha1($data, $key);\nprint hmacsha1hex($data, $key);\n# OO style\nuse Digest::HMACSHA1;\n$hmac = Digest::HMACSHA1->new($key);\n$hmac->add($data);\n$hmac->addfile(*FILE);\n$digest = $hmac->digest;\n$digest = $hmac->hexdigest;\n$digest = $hmac->b64digest;\n\n## DESCRIPTION\n\nThis module provide HMAC-SHA-1 hashing.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **MAINTAINER**\n- **ORIGINAL AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Digest::HMAC_SHA1",
        "section": "",
        "mode": "perldoc",
        "summary": "Digest::HMACSHA1 - Keyed-Hashing for Message Authentication",
        "synopsis": "# Functional style\nuse Digest::HMACSHA1 qw(hmacsha1 hmacsha1hex);\n$digest = hmacsha1($data, $key);\nprint hmacsha1hex($data, $key);\n# OO style\nuse Digest::HMACSHA1;\n$hmac = Digest::HMACSHA1->new($key);\n$hmac->add($data);\n$hmac->addfile(*FILE);\n$digest = $hmac->digest;\n$digest = $hmac->hexdigest;\n$digest = $hmac->b64digest;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MAINTAINER",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "ORIGINAL AUTHOR",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Digest::HMACSHA1 - Keyed-Hashing for Message Authentication\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "# Functional style\nuse Digest::HMACSHA1 qw(hmacsha1 hmacsha1hex);\n$digest = hmacsha1($data, $key);\nprint hmacsha1hex($data, $key);\n\n# OO style\nuse Digest::HMACSHA1;\n$hmac = Digest::HMACSHA1->new($key);\n\n$hmac->add($data);\n$hmac->addfile(*FILE);\n\n$digest = $hmac->digest;\n$digest = $hmac->hexdigest;\n$digest = $hmac->b64digest;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module provide HMAC-SHA-1 hashing.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Digest::HMAC, Digest::SHA, Digest::HMACMD5\n",
                "subsections": []
            },
            "MAINTAINER": {
                "content": "Andrew Rodland <arodland@cpan.org>\n",
                "subsections": []
            },
            "ORIGINAL AUTHOR": {
                "content": "Gisle Aas <gisle@aas.no>\n",
                "subsections": []
            }
        }
    }
}