<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "P256K",
  "identifier" : "/documentation/P256K/Int256/random(in:using:)-6p8kd",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "P256K",
      "Swift"
    ],
    "preciseIdentifier" : "s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:5P256K6Int256V"
  },
  "title" : "random(in:using:)"
}
-->

# random(in:using:)

```
static func random<T>(in range: Range<Self>, using generator: inout T) -> Self where T : RandomNumberGenerator
```