PeculiarVentures / webcrypto-liner

webcrypto-liner is a polyfill that let's down-level User Agents (like IE/Edge) use libraries that depend on WebCrypto. (Keywords: Javascript, WebCrypto, Shim, Polyfill)
MIT License
149 stars 26 forks source link

Making "WebCrypto-compartible" tests #24

Open YuryStrozhevsky opened 7 years ago

YuryStrozhevsky commented 7 years ago

At the moment the product does not have "a prove" that its works exactly like native WebCrypto. Yes, you made an interface looks exactly like WebCrypto. But there are no tests showing the results from your product are the same we have in case of native WebCrypto.

Necessary tests must include: 1) having one "part" of algorithm (for ex. encryption) done by your product and other "part" (decryption) by native WebCrypto; 2) dynamic data generation, no static data; 3) multiple rounds of tests, for example 1000 for each test case.