Instance Propertyswift-crypto 3.12.2Crypto
description
A human-readable description of the digest.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
var description: String { get }
A human-readable description of the digest.
var description: String { get }
import Crypto
A cryptography library for Swift.
struct SHA1Digest
The output of a SHA1 hash.
enum Insecure
A container for older, cryptographically insecure algorithms.
@frozen struct String
A Unicode string value that is a collection of characters.
static var byteCount: Int { get }
func hash(into hasher: inout Hasher)
Hashes the essential components of the digest by feeding them into the given hash function.
func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R
Invokes the given closure with a buffer pointer covering the raw bytes of the digest.