Context

public struct Context

A context for which the derived keys should be used.

  • The size of the context in bytes.

    Declaration

    Swift

    public static let SizeInBytes: UInt32
  • The description of the context in bytes.

    Declaration

    Swift

    public let bytes: Bytes
  • Initialize a context from a given byte array.

    Declaration

    Swift

    public init?(_ bytes: Bytes)

    Parameters

    bytes

    The byte array.

  • Initialize a context from a given string.

    Declaration

    Swift

    public init?(_ string: String)

    Parameters

    string

    The string.