Initializerswift-crypto 3.8.0_CryptoExtras->Crypto
init(data:)
Explicitly set the Counter’s offset using a byte sequence
ChaCha20CTR.swift:95init<D>(data: D) throws where D : DataProtocol
Other members in extension
Type members
init(
) Generates a fresh Counter set to 0. Unless required by a specification to provide a specific Counter, this is the recommended initializer.
init(offset: UInt32
) throws Explicitly set the Counter’s offset using a UInt32