[core] allow scilab to use more secure hash functions 97/21697/33
authormottelet <stephane.mottelet@utc.fr>
Tue, 7 Jul 2020 08:30:17 +0000 (10:30 +0200)
committerClément David <clement.david@esi-group.com>
Fri, 2 Apr 2021 08:03:28 +0000 (10:03 +0200)
commit556b75cc2dd90f669823bfc065f2cb3698e270ce
tree4107fddd3e9092365c5eb992f6513abff011fae1
parented33e3e3c6ab6795758a31cd6fa6750982f24053
[core] allow scilab to use more secure hash functions

http://bugzilla.scilab.org/show_bug.cgi?id=4648

Introducing hash() function, see proposed help page at
http://bugzilla.scilab.org/attachment.cgi?id=5157

Change-Id: I825a4361ae81530e1257f1d9187c76ceee285729
31 files changed:
scilab/modules/core/Makefile.am
scilab/modules/core/Makefile.in
scilab/modules/core/includes/core_gw.hxx
scilab/modules/core/includes/md5.h
scilab/modules/core/license.txt
scilab/modules/core/sci_gateway/cpp/core_gw.cpp
scilab/modules/core/sci_gateway/cpp/core_gw.vcxproj
scilab/modules/core/sci_gateway/cpp/core_gw.vcxproj.filters
scilab/modules/core/sci_gateway/cpp/sci_getmd5.cpp
scilab/modules/core/sci_gateway/cpp/sci_hash.cpp [new file with mode: 0644]
scilab/modules/core/src/c/core.vcxproj
scilab/modules/core/src/c/core.vcxproj.filters
scilab/modules/core/src/c/md5.c [deleted file]
scilab/modules/core/src/cpp/hash/LICENSE.txt [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/crc32.cpp [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/crc32.hxx [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/hash.hxx [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/md5.cpp [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/md5.hxx [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/readme.md [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/sha1.cpp [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/sha1.hxx [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/sha256.cpp [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/sha256.hxx [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/sha3.cpp [new file with mode: 0644]
scilab/modules/core/src/cpp/hash/sha3.hxx [new file with mode: 0644]
scilab/modules/core/src/cpp/md5_file.cpp [new file with mode: 0644]
scilab/modules/core/tests/unit_tests/hash.tst [new file with mode: 0644]
scilab/modules/fileio/help/en_US/hash.xml [new file with mode: 0644]
scilab/modules/fileio/help/ru_RU/hash.xml [new file with mode: 0644]
scilab/modules/io/sci_gateway/cpp/sci_genlib.cpp