1 | <?php |
||
9 | class Bip39SeedGenerator |
||
10 | { |
||
11 | /** |
||
12 | * @param string $string |
||
13 | * @return BufferInterface |
||
14 | * @throws \Exception |
||
15 | */ |
||
16 | 96 | private function normalize($string) |
|
28 | |||
29 | /** |
||
30 | * @param string $mnemonic |
||
31 | * @param string $passphrase |
||
32 | * @return \BitWasp\Buffertools\BufferInterface |
||
33 | * @throws \Exception |
||
34 | */ |
||
35 | 96 | public function getSeed($mnemonic, $passphrase = '') |
|
45 | } |
||
46 |