<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoKit",
  "identifier" : "/documentation/CryptoKit/SHA512Digest",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Apple CryptoKit"
    ],
    "preciseIdentifier" : "s:9CryptoKit12SHA512DigestV"
  },
  "title" : "SHA512Digest"
}
-->

# SHA512Digest

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

```
struct SHA512Digest
```

## Topics

### Inspecting the digest length

[`byteCount`](/documentation/CryptoKit/SHA512Digest/byteCount)

The number of bytes in the digest.

### Accessing underlying storage

### Describing a digest

[`description`](/documentation/CryptoKit/SHA512Digest/description)

A human-readable description of the digest.

### Hashing a digest

[`hash(into:)`](/documentation/CryptoKit/SHA512Digest/hash(into:))

Hashes the essential components of the digest by feeding them into the
given hash function.

## Relationships

### Conforms To

[`Escapable`](/documentation/Swift/Escapable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Digest`](/documentation/CryptoKit/Digest)

[`Copyable`](/documentation/Swift/Copyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sequence`](/documentation/Swift/Sequence)

[`ContiguousBytes`](/documentation/Foundation/ContiguousBytes)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)