init(data:)

    Explicitly set the Counter’s offset using a byte sequence

    ChaCha20CTR.swift:95
    init<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

    Instance members