Enumerationswift-crypto 3.12.2_CryptoExtras->Crypto
_CTR
AES_CTR.swift:26- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
enum _CTR
enum _CTR
import Crypto
A cryptography library for Swift.
import _CryptoExtras
Provides additional cryptographic APIs that are not available in CryptoKit (and therefore the core Crypto library).
enum AES
A container for Advanced Encryption Standard (AES) ciphers.
static func inversePermute<Payload>(_ payload: inout Payload, key: SymmetricKey) throws where Payload : MutableCollection, Payload.Element == UInt8
Apply the AES permutation operation in the decryption direction.
static func permute<Payload>(_ payload: inout Payload, key: SymmetricKey) throws where Payload : MutableCollection, Payload.Element == UInt8
Apply the AES permutation operation in the encryption direction.
enum _CBC
The Advanced Encryption Standard (AES) Cipher Block Chaining (CBC) cipher suite.
enum _CFB
static func decrypt<Ciphertext>(_ ciphertext: Ciphertext, using key: SymmetricKey, nonce: AES._CTR.Nonce) throws -> Data where Ciphertext : DataProtocol
static func encrypt<Plaintext>(_ plaintext: Plaintext, using key: SymmetricKey, nonce: AES._CTR.Nonce) throws -> Data where Plaintext : DataProtocol
struct Nonce