peachpiecompiler / peachpie

PeachPie - the PHP compiler and runtime for .NET and .NET Core
https://www.peachpie.io
Apache License 2.0
2.38k stars 203 forks source link

hash_algos() doesn't include sha3-512 #1089

Open Sekiraw opened 2 years ago

Sekiraw commented 2 years ago

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.

jakubmisek commented 1 year ago

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