ddn.crypto.internal.hashfactory
Shared delegate aliases used across the crypto library.
Hoisted here so that modules offering hash-driven algorithms (ciphers, signers) agree on one definition instead of each declaring a private twin that becomes ambiguous when several of those modules are imported together.
alias HashFactory
Types 1
aliasHashFactory = Hash delegate()
Delegate that creates a new Hash instance.
Example:
HashFactory factory = () => new SHA256Digest();