---
title: SHA512Digest
framework: cryptokit
role: symbol
role_heading: Structure
path: cryptokit/sha512digest
---

# SHA512Digest

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

## Declaration

```swift
struct SHA512Digest
```

## Topics

### Inspecting the digest length

- [byteCount](cryptokit/sha512digest/bytecount.md)

### Describing a digest

- [description](cryptokit/sha512digest/description.md)

### Hashing a digest

- [hash(into:)](cryptokit/sha512digest/hash(into:).md)

## Relationships

### Conforms To

- [ContiguousBytes](foundation/contiguousbytes.md)
- [Copyable](swift/copyable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Digest](cryptokit/digest.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Sequence](swift/sequence.md)

## See Also

### Specifying the output type

- [SHA512.Digest](cryptokit/sha512/digest.md)
