Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
HashType
HashingContext.swift:16enum HashType
Cases
case md5
Hashing algorithm: MD5.
case sha1
Hashing algorithm: SHA-1.
case sha256
Hashing algorithm: SHA-256.
Other members in extension
Type members
Instance members
func finish(
) -> PackedByteArray Closes the current context, and return the computed hash.
func start(type: HashingContext.HashType
) -> GodotError Starts a new hash computation of the given
type
(e.g. .hashSha256 to start computation of a SHA-256).func update(chunk: PackedByteArray
) -> GodotError Updates the computation with the given
chunk
of data.
Citizens in SwiftGodot
Conformances
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.