We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 410091a commit a4c57f7Copy full SHA for a4c57f7
src/HOTPResult.php
@@ -69,10 +69,10 @@ public function toDec(): int
69
$offset = $hmacResult[19] & 0xf;
70
71
$this->decimal = (
72
- (($hmacResult[$offset+0] & 0x7f) << 24) |
73
- (($hmacResult[$offset+1] & 0xff) << 16) |
74
- (($hmacResult[$offset+2] & 0xff) << 8) |
75
- ($hmacResult[$offset+3] & 0xff)
+ (($hmacResult[$offset + 0] & 0x7f) << 24) |
+ (($hmacResult[$offset + 1] & 0xff) << 16) |
+ (($hmacResult[$offset + 2] & 0xff) << 8) |
+ ($hmacResult[$offset + 3] & 0xff)
76
);
77
}
78
return $this->decimal;
0 commit comments