<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialPRFAssertionInput-swift.struct/InputValues-swift.struct/saltInput1(_:saltInput2:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices51ASAuthorizationPublicKeyCredentialPRFAssertionInputV0H6ValuesV10saltInput1_0J6Input2AE10Foundation4DataV_AJSgtFZ"
  },
  "title" : "saltInput1(_:saltInput2:)"
}
-->

# saltInput1(_:saltInput2:)

The inputs for generating the PRF output secrets.

```
static func saltInput1(_ saltInput1: Data, saltInput2: Data? = nil) -> ASAuthorizationPublicKeyCredentialPRFAssertionInput.InputValues
```

## Parameters

`saltInput1`

The input the system uses when generating `first`.

`saltInput2`

If specified, the input when generating `second`. If not specified, `second` is `nil`.

## Return Value

A configured instance of `InputValues`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)