@@ -37,8 +37,10 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | static function encrypt ($pwd, $data, $ispwdHex = 0) |
| 39 | 39 | { |
| 40 | - if ($ispwdHex) |
|
| 41 | - $pwd = @pack('H*', $pwd); // valid input, please! |
|
| 40 | + if ($ispwdHex) { |
|
| 41 | + $pwd = @pack('H*', $pwd); |
|
| 42 | + } |
|
| 43 | + // valid input, please! |
|
| 42 | 44 | |
| 43 | 45 | $key[] = ''; |
| 44 | 46 | $box[] = ''; |