Static Propertyswift-crypto 3.12.2Crypto
byteCount
The number of bytes in a SHA384 digest.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
static var byteCount: Int { get set }
The number of bytes in a SHA384 digest.
static var byteCount: Int { get set }
import Crypto
A cryptography library for Swift.
struct SHA384
An implementation of Secure Hashing Algorithm 2 (SHA-2) hashing with a 384-bit digest.
@frozen struct Int
A signed integer value type.
init()
Creates a SHA384 hash function.
static var blockByteCount: Int { get set }
func finalize() -> Self.Digest
Finalizes the hash function and returns the computed digest.
mutating func update(bufferPointer: UnsafeRawBufferPointer)
Incrementally updates the hash function with the contents of the buffer.
typealias Digest = SHA384Digest
The digest type for a SHA384 hash function.