Completado

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:

CODE:

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

{

bytes32 hash = sha3(unhashedName);

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

}

DESCRIPTION OF THE CODE:

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.

EXAMPLE:

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 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:

vano101

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)
7.6

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

nddungha

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

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

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)
5.3
bdphpguru

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)
5.2
Leggendario

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)
5.1
$45 USD en 1 día
(17 comentarios)
4.8
neerajagrawal201

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)
4.5
Jupiter33

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)
4.5
technologiesygti

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)
3.0
mahmoud9

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)
2.0
noshadali19

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)
0.0
kamalravrani

I will fix ur need in 3 day with 100%

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