mirror of
https://github.com/apple/swift-crypto
synced 2026-11-27 04:54:21 +00:00
Improve DocC landing pages by mimicking Apple's CryptoKit docs
### Motivation:
Right now the DocC docs group all APIs by protocols, structures and
enums.
By adding a topics section in the landing page we can group them by type
("Ciphers", "Public key cryptography", etc.) exactly in the way Apple
does in [CryptoKit
docs](https://developer.apple.com/documentation/cryptokit/).
### Modifications:
- Fix DocC compilation errors in `_CryptoExtras`
- Add topics section in `_CryptoExtras` landing page
- Add topics section in `Crypto` landing page
### Result:
APIs will be grouped by type.
---------
Co-authored-by: Cory Benfield <lukasa@apple.com>
26 lines
500 B
Markdown
26 lines
500 B
Markdown
# ``_CryptoExtras``
|
|
|
|
Provides additional cryptographic APIs that are not available in CryptoKit (and therefore the core Crypto library).
|
|
|
|
## Overview
|
|
|
|
`CryptoExtras` is a collection of additional cryptographic primitives and utilities that are not part of CryptoKit but useful in a server environment.
|
|
|
|
## Topics
|
|
|
|
### Ciphers
|
|
|
|
- ``_CryptoExtras/Crypto/AES``
|
|
|
|
### Public key cryptography
|
|
|
|
- ``_RSA``
|
|
|
|
### Key derivation functions
|
|
|
|
- ``KDF``
|
|
|
|
### Legacy algorithms
|
|
|
|
- ``_CryptoExtras/Crypto/Insecure``
|