One Logo Pool Ball
CryptoKit · IOS API REFERENCE

SHA3_512Digest

struct · iOS 26.0+ · SDK 27.1

struct SHA3_512Digest

The output of a Secure Hashing Algorithm 3 (SHA-2) hash with a 512-bit digest.

Members (3)

get · iOS 26.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A human-readable description of the digest.

method · iOS 26.0+

withUnsafeBytes

TypeScript
withUnsafeBytes(body: ((arg0: ArrayBuffer) => unknown)): unknown
Swift declaration
func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R

Calls the given closure with the contents of underlying storage. - note: Calling `withUnsafeBytes` multiple times does not guarantee that the same buffer pointer will be passed in every time. - warning: The buffer argument to the body should not be stored or used outside of the lifetime of the call to the closure. Clients should prefer the `withBytes` function to this one, because `withBytes` uses the non-escapable type `RawSpan` to ensure that the buffer argument is not stored outside of the closure.

get · iOS 26.0+

byteCount

TypeScript
static get byteCount(): number
Swift declaration
static var byteCount: Int { get }

The number of bytes in the digest.

Skipped declarations

No declarations were skipped in this snapshot.

All CryptoKit types →