bits128
TypeScriptstatic get bits128(): SymmetricKeySizeSwift declarationstatic var bits128: SymmetricKeySize { get }A size of 128 bits.
struct · iOS 13.0+ · SDK 27.1
struct SymmetricKeySizeThe sizes that a symmetric cryptographic key can take. When creating a new ``SymmetricKey`` instance with a call to its ``SymmetricKey/init(size:)`` initializer, you typically use one of the standard key sizes, like ``bits128``, ``bits192``, or ``bits256``. When you need a key with a non-standard length, use the ``init(bitCount:)`` initializer to create a `SymmetricKeySize` instance with a custom bit count.
static get bits128(): SymmetricKeySizeSwift declarationstatic var bits128: SymmetricKeySize { get }A size of 128 bits.
static get bits192(): SymmetricKeySizeSwift declarationstatic var bits192: SymmetricKeySize { get }A size of 192 bits.
static get bits256(): SymmetricKeySizeSwift declarationstatic var bits256: SymmetricKeySize { get }A size of 256 bits.
static init(bitCount: number): SymmetricKeySizeSwift declarationinit(bitCount: Int)Creates a new key size of the given length. In most cases, you can use one of the standard key sizes, like bits256. If instead you need a key with a non-standard size, use the ``init(bitCount:)`` initializer to create a custom key size. - Parameters: - bitCount: The number of bits in the key size.
get bitCount(): numberSwift declarationlet bitCount: IntThe number of bits in the key.
No declarations were skipped in this snapshot.