P
patrick
Hello.
I am not new to javascript but i saw a function or a part of code i am
not familiar with.
I am currently building a PHP wrapper to be able to encode fAES string
from php and decode them with javascript.
My main problem at this time is this little part of code.
var nonce = (new Date()).getTime();
for (var i=0; i<4; i++) {
counterBlock = (nonce >>> i*8) & 0xff;
}
I have absolutely no idea what the >>> means as i have been unable to
find anything on this.
This code is JavaScript.
I know i am new to this group but, if i am at the wrong place to ask
for help, just move or delete my post.
P.S. i know i am asking a lot but, if someone has an idea how i can
reproduce this under PHP, i would greatly appreciate.
Thanks
I am not new to javascript but i saw a function or a part of code i am
not familiar with.
I am currently building a PHP wrapper to be able to encode fAES string
from php and decode them with javascript.
My main problem at this time is this little part of code.
var nonce = (new Date()).getTime();
for (var i=0; i<4; i++) {
counterBlock = (nonce >>> i*8) & 0xff;
}
I have absolutely no idea what the >>> means as i have been unable to
find anything on this.
This code is JavaScript.
I know i am new to this group but, if i am at the wrong place to ask
for help, just move or delete my post.
P.S. i know i am asking a lot but, if someone has an idea how i can
reproduce this under PHP, i would greatly appreciate.
Thanks