开发者

Testing a implemented algorithm in cryptography

开发者 https://www.devze.com 2023-03-20 17:44 出处:网络
I have implemented a cryptography algorithm using my own code using C#.net, i need to test this implemented algorithm for its accuracy and execution time ..

I have implemented a cryptography algorithm using my own code using C#.net,

i need to test this implemented algorithm for its accuracy and execution time ..

is there a standard way which i can test these algorithm for its accuracy and ex开发者_开发知识库ecution time?

this algo is implemented as class in C#.net


There are two obvious ways, and you should do both. Test it against a respected existing implementation, and test it using known good test vectors such as the known answer tests (KAT) supplied by the U.S. NIST for algorithms in their standards. Most algorithms in the IETF RFCs also have test values.

0

精彩评论

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