<!--
{
  "availability" : [
    "Xcode: 13.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "article",
  "framework" : "AppleArchive",
  "identifier" : "/documentation/AppleArchive/encrypting-and-decrypting-directories",
  "metadataVersion" : "0.1.0",
  "role" : "sampleCode",
  "title" : "Encrypting and Decrypting Directories"
}
-->

# Encrypting and Decrypting Directories

Compress and encrypt the contents of an entire directory or decompress and decrypt an archived directory  using Apple Encrypted Archive.

## Overview

> Note: This sample code project is associated with WWDC21 session [10233: Bring Encrypted Archives and Performance Improvements to Your App with Accelerate](https://developer.apple.com/wwdc21/10233/).

---

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)