Convert Function to PHP

Your job is to convert the follwing function into PHP which means: You have to write a function in PHP which returns exactly the same results as the following code:


function getAllowedTime(string unhashedName) constant returns (uint timestamp)


bytes32 hash = sha3(unhashedName);

return registryStarted + (launchLength*(uint(_hash)>>128)>>128);



We hash the name using keccak256, and express the result as an integer between 0 and 1. Then, we multiply that by the duration of the launch period (8 weeks) and add that to the start date (May 4th 2017 1100 UTC) to generate the time at which that name can first be auctioned.


At current UTC Time 2017-05-07 16:10 for this name "testname" it must return: 2017-05-22 21:40

Habilidades: .NET, Assembler, Programación en C, Programación en C++, PHP

Ver más: php function convert url, php function convert php, php function convert dynamic urls seo friendly, php, assembly, c++ programming, ios, php function convert url links, php function convert text href link, php function convert links block, php function convert valid url, php function convert html, php function convert html wiki, php function convert url text links, php function convert http link php text, php function convert links href, php function convert url html link, php function convert http links, php function convert link

Información del empleador:
( 65 comentarios ) Zurich, Switzerland

Nº del proyecto: #13958619

Adjudicado a:


Hello. I have much experience in conmverting code from one programming language to another programming language. Also, I have experience with porting similar code to PHP (with shifts and bit arithmetic)

$40 USD en 3 días
(1484 comentarios)

12 freelancers están ofertando el promedio de $42 para este trabajo


Hello I have experience with PHP. I can do this project Thanks .................................................................................

$40 USD en 2 días
(91 comentarios)

Hello There, Hope you're doing well. I request you to contact me further in order to have a detailed discussion on your project related requirements. Please refer my portfolio below for more details. Waiting for Más

$40 USD en 4 días
(64 comentarios)

Dear Sir, Able to start right now. I have more than 2+ years experience in web and deskop application development using C#.Net , mysql,php. Twillio sms gateway api,paypal api several api like twitter, bitcoin. Más

$40 USD en 0 días
(86 comentarios)

As far as I know, there are some implementation for sha3 ( [login to view URL] ), so it should be possible without problems.

$40 USD en 1 día
(46 comentarios)
$45 USD en 1 día
(17 comentarios)

hey, I have good knowledge in below mentioned skills by you. I also have some certifications in php. I can share some of demos with you if you want for better understanding. Currently I'm working on a banking project i Más

$40 USD en 1 día
(20 comentarios)

I am an expert programmer with several years of experience in the realization of web and desktop software applications in Php language. I am interested in your project and It is quite clear the work you need. If you w Más

$40 USD en 3 días
(14 comentarios)

We are Expert In : PHP, Mysql, Laravel, Wordpress, Symfony, SugarCRM, suiteCRM, codeigniter, Prestashop,HTML, Bootstrap, CSS, PSD to HTML We are not just looking for money OR one project, as we firmly believe in long Más

$45 USD en 10 días
(6 comentarios)

Hello Sir , Before to tell you more about me , I have successfully delivered +270 projects for clients across +50 countries in domains like healthcare, e-commerce, social network, chat app, food delivery app Más

$45 USD en 10 días
(2 comentarios)

Hi there I am a PHP developer. Hire me for this task. I can do it for you. Sites I have worked on [login to view URL] [login to view URL] [login to view URL] Looking forward to working on this task. Regards, Más

$40 USD en 10 días
(0 comentarios)

I will fix ur need in 3 day with 100%

$45 USD en 3 días
(0 comentarios)