Data

extension Data

Digest Handling Extension

Enums

  • Enumerates available Digest algorithms

    See more

    Declaration

    Swift

    public enum Algorithm

Functions

  • Return a digest of the data based on the alogorithm selected.

    Declaration

    Swift

    public func digest(using alogorithm: Algorithm) throws -> Data

    Parameters

    alogorithm

    The digest Alogorithm to use.

    Return Value

    Data containing the data in digest form.