This repository was archived by the owner on Aug 29, 2025. It is now read-only.
forked from brandondahler/Data.HashFunction
-
Notifications
You must be signed in to change notification settings - Fork 5
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Use with Powershell #7
Copy link
Copy link
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
i need help to make it usable with powershell.
- import of next three dll's (for Blake3 hashing)
Import-Module C:\MyLocalFolder\data.hashfunction.interfaces.3.1.2\lib\netstandard2.0\Data.HashFunction.Interfaces.dll
Import-Module C:\MyLocalFolder\data.hashfunction.core.3.1.2\lib\netstandard2.0\Data.HashFunction.Core.dll
Import-Module C:\MyLocalFolder\data.hashfunction.blake3.3.1.2\lib\netstandard2.0\Data.HashFunction.Blake3.dll
- get assemblies shows that the dll's is loaded
[appdomain]::CurrentDomain.GetAssemblies()
Data.HashFunction.Blake3, Version=3.1.2.0, Culture=neutral, PublicKeyToken=80c9288e394c1322
Data.HashFunction.Core, Version=3.1.2.0, Culture=neutral, PublicKeyToken=80c9288e394c1322
Data.HashFunction.Interfaces, Version=3.1.2.0, Culture=neutral, PublicKeyToken=80c9288e394c1322
- but the create of object hasher (Data.HashFunction.Blake3.Hasher) is not possible
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
False False EmbeddedAttribute System.Attribute
False False IsUnmanagedAttribute System.Attribute
True False Blake3Config System.Object
True False Blake3Factory System.Object
False False Blake3_Implementation Data.HashFunction.Core.HashFunctionBase
False False Hasher System.Object
True False IBlake3
True False IBlake3Config
True False IBlake3Factory
False True blake3_new_del System.MulticastDelegate
False True blake3_new_keyed_del System.MulticastDelegate
False True blake3_new_derive_key_del System.MulticastDelegate
False True blake3_hash_del System.MulticastDelegate
False True blake3_hash_preemptive_del System.MulticastDelegate
False True blake3_delete_del System.MulticastDelegate
False True blake3_reset_del System.MulticastDelegate
False True blake3_update_del System.MulticastDelegate
False True blake3_update_preemptive_del System.MulticastDelegate
False True blake3_update_rayon_del System.MulticastDelegate
False True blake3_finalize_del System.MulticastDelegate
False True blake3_finalize_xof_del System.MulticastDelegate
False True blake3_finalize_seek_xof_del System.MulticastDelegate
- the only two working objects are config and factory
[Data.HashFunction.Blake3.Blake3Config].GetProperties()
MemberType : Property
Name : HashSizeInBits
DeclaringType : Data.HashFunction.Blake3.Blake3Config
ReflectedType : Data.HashFunction.Blake3.Blake3Config
MetadataToken : 385875969
Module : Data.HashFunction.Blake3.dll
PropertyType : System.Int32
Attributes : None
CanRead : True
CanWrite : True
GetMethod : Int32 get_HashSizeInBits()
SetMethod : Void set_HashSizeInBits(Int32)
IsSpecialName : False
CustomAttributes : {}
[Data.HashFunction.Blake3.Blake3Factory].GetProperties()
MemberType : Property
Name : Instance
DeclaringType : Data.HashFunction.Blake3.Blake3Factory
ReflectedType : Data.HashFunction.Blake3.Blake3Factory
MetadataToken : 385875970
Module : Data.HashFunction.Blake3.dll
PropertyType : Data.HashFunction.Blake3.IBlake3Factory
Attributes : None
CanRead : True
CanWrite : False
GetMethod : Data.HashFunction.Blake3.IBlake3Factory get_Instance()
SetMethod :
IsSpecialName : False
CustomAttributes : {}
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed