开发者

Need your help on Full Triple DES MAC in C# .NET

开发者 https://www.devze.com 2023-03-08 01:53 出处:网络
My work needs the full triple DES MAC function in .NET (as as defined in [ISO 9797-1] as MAC Algorithm 1 with output transformation 1, without truncation, and with triple DES taking the place of the b

My work needs the full triple DES MAC function in .NET (as as defined in [ISO 9797-1] as MAC Algorithm 1 with output transformation 1, without truncation, and with triple DES taking the place of the block cipher)

My problem is that 开发者_运维技巧I don't know how to implement this algorithm in C#.NET

Is there any suggestion (or code snippet) that would helps me implementing it (.NET Class and method)

Thanks in advance! Best regards, Hai-Binh LE


The .Net Library already contains an implementation of the TripleDES Message Authenticator Code algorithm.

You can find the documentation and example here.

You didn't mention which version of the .net framework you were using, incidentally, so I've assumed 3.5 here.

0

精彩评论

暂无评论...
验证码 换一张
取 消