开发者

Testing a implemented algorithm in cryptography

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜