ncsa / qdl

the QDL programming language
Other
1 stars 0 forks source link

Add support for different hash algorithms #18

Closed jjg-123 closed 1 year ago

jjg-123 commented 1 year ago

Now the hash() function only does sha-1. There was a request for MD5 at one point (though they could use sha-1) so it seems we need a full set of these: md2, md5, sha-1, sha-2, sha-256, sha-384 and sha-512. Allow for an optional second parameter to the hash function that is the name of the algorithm.