SymmetricKeySize

public struct SymmetricKeySize

The size of a symmetric key

  • Undocumented

    Declaration

    Swift

    public let bitCount: Int
  • Symmetric key size of 128 bits

    Declaration

    Swift

    public static var bits128: SymmetricKeySize { get }
  • Symmetric key size of 192 bits

    Declaration

    Swift

    public static var bits192: SymmetricKeySize { get }
  • Symmetric key size of 256 bits

    Declaration

    Swift

    public static var bits256: SymmetricKeySize { get }
  • Symmetric key size with a custom number of bits.

    Params: - bitsCount: Positive integer that is a multiple of 8.

    Declaration

    Swift

    public init(bitCount: Int)