Static Propertyswift-crypto 3.12.2Crypto
bits256
A size of 256 bits.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
static var bits256: SymmetricKeySize { get }
A size of 256 bits.
static var bits256: SymmetricKeySize { get }
import Crypto
A cryptography library for Swift.
struct SymmetricKeySize
The sizes that a symmetric cryptographic key can take.
init(bitCount: Int)
Creates a new key size of the given length.
static var bits128: SymmetricKeySize { get }
A size of 128 bits.
static var bits192: SymmetricKeySize { get }
A size of 192 bits.
let bitCount: Int
The number of bits in the key.