Instance Propertyswift-crypto 3.8.0Crypto
bitCount
The number of bits in the key.
SymmetricKeys.swift:110var bitCount: Int { get }
Other members in extension
Type members
init<D>(data: D
) Creates a key from the given data.
init(size: SymmetricKeySize
) Generates a new random key of the given size.
static func == (lhs: `Self`, rhs: `Self`
) -> Bool
Instance members
func withUnsafeBytes<R>((UnsafeRawBufferPointer) throws -> R
) rethrows -> R Invokes the given closure with a buffer pointer covering the raw bytes of the key.