---
title: ASImportableCredential.TOTP.Algorithm.sha256
framework: authenticationservices
role: symbol
role_heading: Case
path: authenticationservices/asimportablecredential/totp/algorithm-swift.enum/sha256
---

# ASImportableCredential.TOTP.Algorithm.sha256

The SHA-256 algorithm.

## Declaration

```swift
case sha256
```

## See Also

### Algorithms

- [ASImportableCredential.TOTP.Algorithm.sha1](authenticationservices/asimportablecredential/totp/algorithm-swift.enum/sha1.md)
- [ASImportableCredential.TOTP.Algorithm.sha512](authenticationservices/asimportablecredential/totp/algorithm-swift.enum/sha512.md)
