EXTENSION

StringProtocol

public extension StringProtocol

Properties

sha256Hex

var sha256Hex: String

Returns a SHA256 in hexadecimal as a String.

dataUtf8Encoding

var dataUtf8Encoding: Data

Returns a Data format by using .utf8 encoding.