{
    "content": [
        {
            "type": "text",
            "text": "# Crypt::PRNG::Yarrow (perldoc)\n\n## NAME\n\nCrypt::PRNG::Yarrow - Cryptographically secure PRNG based on Yarrow algorithm\n\n## SYNOPSIS\n\n### Functional interface:\nuse Crypt::PRNG::Yarrow qw(randombytes randombyteshex randombytesb64 randomstring randomstringfrom rand irand);\n$octets = randombytes(45);\n$hexstring = randombyteshex(45);\n$base64string = randombytesb64(45);\n$base64urlstring = randombytesb64u(45);\n$alphanumericstring = randomstring(30);\n$string = randomstringfrom('ACGT', 64);\n$floatingpointnumber0to1 = rand;\n$floatingpointnumber0to88 = rand(88);\n$unsigned32bitint = irand;\n### OO interface:\nuse Crypt::PRNG::Yarrow;\n$prng = Crypt::PRNG::Yarrow->new;\n#or\n$prng = Crypt::PRNG::Yarrow->new(\"some data used for seeding PRNG\");\n$octets = $prng->bytes(45);\n$hexstring = $prng->byteshex(45);\n$base64string = $prng->bytesb64(45);\n$base64urlstring = $prng->bytesb64u(45);\n$alphanumericstring = $prng->string(30);\n$string = $prng->stringfrom('ACGT', 64);\n$floatingpointnumber0to1 = rand;\n$floatingpointnumber0to88 = rand(88);\n$unsigned32bitint = irand;\n\n## DESCRIPTION\n\nProvides an interface to the Yarrow based pseudo random number generator\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **FUNCTIONS**\n- **METHODS**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Crypt::PRNG::Yarrow",
        "section": "",
        "mode": "perldoc",
        "summary": "Crypt::PRNG::Yarrow - Cryptographically secure PRNG based on Yarrow algorithm",
        "synopsis": "### Functional interface:\nuse Crypt::PRNG::Yarrow qw(randombytes randombyteshex randombytesb64 randomstring randomstringfrom rand irand);\n$octets = randombytes(45);\n$hexstring = randombyteshex(45);\n$base64string = randombytesb64(45);\n$base64urlstring = randombytesb64u(45);\n$alphanumericstring = randomstring(30);\n$string = randomstringfrom('ACGT', 64);\n$floatingpointnumber0to1 = rand;\n$floatingpointnumber0to88 = rand(88);\n$unsigned32bitint = irand;\n### OO interface:\nuse Crypt::PRNG::Yarrow;\n$prng = Crypt::PRNG::Yarrow->new;\n#or\n$prng = Crypt::PRNG::Yarrow->new(\"some data used for seeding PRNG\");\n$octets = $prng->bytes(45);\n$hexstring = $prng->byteshex(45);\n$base64string = $prng->bytesb64(45);\n$base64urlstring = $prng->bytesb64u(45);\n$alphanumericstring = $prng->string(30);\n$string = $prng->stringfrom('ACGT', 64);\n$floatingpointnumber0to1 = rand;\n$floatingpointnumber0to88 = rand(88);\n$unsigned32bitint = irand;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 30,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 24,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 27,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Crypt::PRNG::Yarrow - Cryptographically secure PRNG based on Yarrow algorithm\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "### Functional interface:\nuse Crypt::PRNG::Yarrow qw(randombytes randombyteshex randombytesb64 randomstring randomstringfrom rand irand);\n\n$octets = randombytes(45);\n$hexstring = randombyteshex(45);\n$base64string = randombytesb64(45);\n$base64urlstring = randombytesb64u(45);\n$alphanumericstring = randomstring(30);\n$string = randomstringfrom('ACGT', 64);\n$floatingpointnumber0to1 = rand;\n$floatingpointnumber0to88 = rand(88);\n$unsigned32bitint = irand;\n\n### OO interface:\nuse Crypt::PRNG::Yarrow;\n\n$prng = Crypt::PRNG::Yarrow->new;\n#or\n$prng = Crypt::PRNG::Yarrow->new(\"some data used for seeding PRNG\");\n\n$octets = $prng->bytes(45);\n$hexstring = $prng->byteshex(45);\n$base64string = $prng->bytesb64(45);\n$base64urlstring = $prng->bytesb64u(45);\n$alphanumericstring = $prng->string(30);\n$string = $prng->stringfrom('ACGT', 64);\n$floatingpointnumber0to1 = rand;\n$floatingpointnumber0to88 = rand(88);\n$unsigned32bitint = irand;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Provides an interface to the Yarrow based pseudo random number generator\n\nAll methods and functions are the same as for Crypt::PRNG.\n",
                "subsections": []
            },
            "FUNCTIONS": {
                "content": "randombytes\nSee \"randombytes\" in Crypt::PRNG.\n\nrandombyteshex\nSee \"randombyteshex\" in Crypt::PRNG.\n\nrandombytesb64\nSee \"randombytesb64\" in Crypt::PRNG.\n\nrandombytesb64u\nSee \"randombytesb64u\" in Crypt::PRNG.\n\nrandomstring\nSee \"randomstring\" in Crypt::PRNG.\n\nrandomstringfrom\nSee \"randomstringfrom\" in Crypt::PRNG.\n\nrand\nSee \"rand\" in Crypt::PRNG.\n\nirand\nSee \"irand\" in Crypt::PRNG.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "new\nSee \"new\" in Crypt::PRNG.\n\nbytes\nSee \"bytes\" in Crypt::PRNG.\n\nbyteshex\nSee \"byteshex\" in Crypt::PRNG.\n\nbytesb64\nSee \"bytesb64\" in Crypt::PRNG.\n\nbytesb64u\nSee \"bytesb64u\" in Crypt::PRNG.\n\nstring\nSee \"string\" in Crypt::PRNG.\n\nstringfrom\nSee \"stringfrom\" in Crypt::PRNG.\n\ndouble\nSee \"double\" in Crypt::PRNG.\n\nint32\nSee \"int32\" in Crypt::PRNG.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "*   Crypt::PRNG\n\n*   <https://en.wikipedia.org/wiki/Yarrowalgorithm>\n",
                "subsections": []
            }
        }
    }
}