B-Con/crypto-algorithms

about license

ndeokate-navico opened this issue · 2 comments

Hey,
Can it be used as-is in commercial product for hashing passwords ? No changes at all

Thanks
Nitin

In the file README.md (Current version of this thread), it says:

These are basic implementations of standard cryptography algorithms, written by Brad Conte (brad@bradconte.com) from scratch and without any cross-licensing.

And more:

This code is released into the public domain free of any restrictions. The author requests acknowledgement if the code is used, but does not require it. This code is provided free of any liability and without any quality claims by the author.

The only problem with using these algorithms in your projects is this:

These are primarily intended for educational and pragmatic purposes

And that's the reason:

Note that these are not cryptographically secure implementations. They have no resistence to side-channel attacks and should not be used in contexts that need cryptographically secure implementations.

These algorithms are not optimized for speed or space.

I agree that it would really be interesting to separate everything that is related to the license into a file fit for it.

Hello B-Con,
Public Domain is in some countries problematic. Is there a possibility to assign a permissive license (e.g., MIT, BSD 3-clause) for Commercial use of the code.
A statement like the following would help:
"For Commercial use this code can be used under the MIT license."

Or do a re-licensing to a permissive license for the whole code. Than a license file would be nice.

Thanks in advance.
Siegfried Oesterreicher