---
title: algorithm
framework: authenticationservices
role: symbol
role_heading: Instance Property
path: authenticationservices/asimportablefido2hmaccredential/algorithm-swift.property
---

# algorithm

Algorithm used to generate the shared secret from the credentials.

## Declaration

```swift
var algorithm: ASImportableFIDO2HMACCredential.Algorithm
```
