Welcome to WebmasterWorld Guest from 184.108.40.206
I'm not concerned about the security of this since I'd always use a locally-stored key for encryption which matches a server-side key for decryption. Despite being client-side, it would serve its purpose well.
It's cryptography, it's algorithms, and it's being exported. The source code for the cryptography method is right there, in a <script> on my page.
Aren't there laws regulating that?
Would I be doing something illegal using this client-side code on my website?
Cryptography would certainly be a flag around the world.
It's incredibly stupid, as if these other countries don't have the intellectual capacity to design what they need or to buy it and easily export themselves.
I have no problems whatsoever with exporting virtually any intellectual property, including cryptology.
Here in the USA (where we have lost all common sense) I'd expect it to be a problem, and I would expect most countries to have import and export bureaucracy for encrytion programs; no matter how easily defeated. You could probably sell it in your own country and let it be the buyers' 'problem', but I would lawyer-up first.
I'll skip the rant; you can guess where I'd be going.
A fairly complete list of laws around the world related to cryptography can be found at rechten.uvt.nl/koops/cryptolaw/ [rechten.uvt.nl]
The following links are very old, but I believe they are still at least partly-valid:
I would suggest contacting Industry Canada, or Foreign Affairs and International Trade Canada to see what the current regulations are.