DigestHashingFactory

value class DigestHashingFactory(val digest: Digest = KotlinCryptoDigest(Keccak512())) : PathFactory

A factory that creates Path instances by hashing their content with a specific digest.

Constructors

Link copied to clipboard
constructor(digest: Digest = KotlinCryptoDigest(Keccak512()))

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun invoke(tokens: List<Any?>): Path

Creates a new Path from the given tokens.

open operator fun invoke(vararg tokens: Any?): Path

Creates a new Path from the given tokens.