Archived Forum Post

Index of archived forum posts

Question:

spelling of HashAlgorithm

May 27 '13 at 09:05

Hello,

I'm working with chilkat-9.4.0-Perl-5.10-x86_64-linux

I found different spelling of HashAlgorithm at example-code.com: Exemples: sha1 / sha-1 / SHA1

please see: http://www.example-code.com/perl/hash_sha-1.asp $crypt->put_HashAlgorithm("sha-1");

http://www.example-code.com/perl/crypt_hash_algorithms.asp $crypt->put_HashAlgorithm("sha1")

sha1 unicode get the hash: G9ZBhX3bQRynrasT55ZdRWqdFes= sha-1 unicode get also the hash:- G9ZBhX3bQRynrasT55ZdRWqdFes=

Which is correct? Thanks for your answer.


Answer

All three of the spellings are valid.