@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | * Calculate modulo of any given number using prime |
194 | 194 | * |
195 | 195 | * @param int Number |
196 | - * @return int Module of number |
|
196 | + * @return string Module of number |
|
197 | 197 | */ |
198 | 198 | protected function modulo($number) |
199 | 199 | { |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | * Calculates the inverse modulo |
227 | 227 | * |
228 | 228 | * @param int $number |
229 | - * @return int |
|
229 | + * @return string |
|
230 | 230 | */ |
231 | 231 | protected function inverseModulo($number) |
232 | 232 | { |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | * |
243 | 243 | * @param array $keyX |
244 | 244 | * @param int $threshold |
245 | - * @return array |
|
245 | + * @return string |
|
246 | 246 | * @throws RuntimeException |
247 | 247 | */ |
248 | 248 | protected function reverseCoefficients(array $keyX, $threshold): array |