struct Nonce
s6Crypto3AESO01_A6ExtrasE4_CTRO5NonceVWhat are these?
s6Crypto3AESO01_A6ExtrasE4_CTRO5NonceV
FNV24: [JMBJ]
Show implementation details (2)
Hide implementation details
static func decrypt<Ciphertext>(Ciphertext, using: SymmetricKey, nonce: AES._CTR.Nonce) throws -> Data
static func encrypt<Plaintext>(Plaintext, using: SymmetricKey, nonce: AES._CTR.Nonce) throws -> Data
protocol Sendable
init()
init<NonceBytes>(nonceBytes: NonceBytes) throws
import _CryptoExtras
import Crypto
enum _CTR
enum AES
A container for Advanced Encryption Standard (AES) ciphers.
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
init<NonceBytes>(nonceBytes: NonceBytes) throws where NonceBytes : Collection, NonceBytes.Element == UInt8