---
title: scrypt
framework: applearchive
role: symbol
role_heading: Type Property
path: applearchive/archiveencryptioncontext/encryptionmode-swift.struct/scrypt
---

# scrypt

A constant that represents ephemeral password encryption mode.

## Declaration

```swift
static let scrypt: ArchiveEncryptionContext.EncryptionMode
```

## See Also

### Encryption Mode Constants

- [none](applearchive/archiveencryptioncontext/encryptionmode-swift.struct/none.md)
- [ecdhe_p256](applearchive/archiveencryptioncontext/encryptionmode-swift.struct/ecdhe_p256.md)
- [symmetric](applearchive/archiveencryptioncontext/encryptionmode-swift.struct/symmetric.md)
