peachpie icon indicating copy to clipboard operation
peachpie copied to clipboard

hash_algos() doesn't include sha3-512

Open Sekiraw opened this issue 2 years ago • 1 comments

I'm trying to hash a string with sha3-512 but as I see hash_algos() function doesn't have that. The PHP version is 7.4.69 (that probably includes sha3-512) and PeachPie version 1.0.9, tried it on 1.1.3 too. Is it not implemented yet, or something is wrong with my compiler? Thanks in advance.

Sekiraw avatar Nov 25 '22 14:11 Sekiraw

this looks like it's probably not implemented: https://github.com/peachpiecompiler/peachpie/blob/4307a016e7362112cc694a935334b1a335d35a3b/src/Peachpie.Library/Hash.cs#L1394

jakubmisek avatar Dec 29 '22 14:12 jakubmisek