mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-30 00:55:49 +00:00
Remove seedFromPhrase (unused) (#81)
This commit is contained in:
@@ -29,12 +29,4 @@ function computePublicKeyHash(publicKeyBytes: Buffer): Buffer {
|
||||
return Buffer.from(hash160)
|
||||
}
|
||||
|
||||
function seedFromPhrase(phrase) {
|
||||
return hashjs
|
||||
.sha512()
|
||||
.update(phrase)
|
||||
.digest()
|
||||
.slice(0, 16)
|
||||
}
|
||||
|
||||
export { bytesToHex, hexToBytes, computePublicKeyHash, seedFromPhrase }
|
||||
export { bytesToHex, hexToBytes, computePublicKeyHash }
|
||||
|
||||
Reference in New Issue
Block a user