Contents

hash(bytes:)

Computes a digest of a span of bytes.

Declaration

@export(implementation) static func hash(bytes: RawSpan) -> Self.Digest

Parameters

  • bytes:

    The bytes to be hashed.

Return Value

The computed digest.