Call custom algorithm form hashcat

I have string which was encrypted using combine of few algorithm (not standart MD5 or else) implemented on C# using .Net libraries.
Is there way to call this algorithm from hashcat?
For example, I'll create some assembly with public method and specific input/output parameters to check if password acceptable for encrypted string or not?
Is there some documentation or examples implemented?


PS. Sorry if it's stupid question, I'm new in this.
Of course it's possible. You just need to rewrite the algorithm as kernel in OpenCL (basically strong reduced C language).

There's no official documentation about the process adding a new algorithm, but there are some example PR on github that show all the files you need to change. See this commit for example:
This is a current link to the changes: