A .NET implementation of length-prepend CBC-MAC.
Warning
Do NOT use this algorithm. It's NOT collision resistant, so it's not committing. Furthermore, the length-prepend is likely non-standard, and this implementation also isn't very efficient as it uses one-shot methods for simplicity.