encryption – Mnemonic Seed Phrase Generation For Private Key Truncation

The below code block is capable of generating a mnemonic seed phrase. If I want to generate a mnemonic seed for a private key, is it then correctly understood that I should input the private key as entropy factor, and how can I reverse engineer the private key knowing the mnemonic seed?

package main
    
    import (
        "fmt"
        "github.com/brianium/mnemonic"
        "github.com/brianium/mnemonic/entropy"
    )
    
    func main() {
        // generate some entropy from a hex string
        ent, _ := entropy.FromHex("8197a4a47f0425faeaa69deebc05ca29c0a5b5cc76ceacc0")
        
        // generate a Mnemonic in Japanese with the generated entropy
        jp, _ := mnemonic.New(ent, mnemonic.Japanese)
    
        // print the Mnemonic as a sentence
        fmt.Println(jp.Sentence())
    }

arrays – Returning random integer from interval based on last result and a seed

Suppose we have an interval of integers (a, b). I would like to have a function that returns random members from within the interval, without repetitions. Once that all members within the interval are explored, the function would start to return the same first random sequence again, in the same order.

Example: a=1, b=5

3, 1, 4, 5, 2, 3, 1, 4, 5, 2, 3, 1, 4, 5, 2, ...

This would be easy to achieve by shuffling an array of all elements between a and b, and repeating it once the array is finished. However, this would take too much memory space, and this is not suitable for my case (I might have millions of elements).

Instead, the function I’d like to have would be more or less like this:

f(a, b, n, seed) -> n+1

Where:

a - start of interval
b - end of interval
n - last element returned from list
seed - self-explanatory
n+1 - next random element from list, calculated by using the seed and the last element returned (n)

The trick is knowing some way to get a non-repeated number from the interval based only on the element returned before and the seed. In the end, it would behave like a circular list randomized at its initialization, but without using memory space.

matlab – Does frequent changing of the random seed reduce the randomness of results?

I wrote a Matlab program whose algorithm is like:

for epoch = 1:1000,
    rng('shuffle') %seed based on time
    for generation = 1:100,
        % solve the puzzle using the random number to shuffle values in the puzzle
    end
end

rng seeds the random number generator based on the current system time. I’m using Matlab’s default random number generator, and the reason I put rng within the epoch loop, is because I wanted to make sure the puzzle got solved differently each time.

But, one of the conference reviewers wrote a review comment that said:

“One normally seeds a PRNG (pseudo random number generator” once
during initialisation. Changing the seed repeatedly REDUCES the
randomness of results!!!! Move this out of your algorithm. Low
diversity in a PRNG can actually improve results!”

Is this actually true? Would my program have produced better randomness if the seed was initialized like this?

rng('shuffle') %seed based on time
for epoch = 1:1000,
    for generation = 1:100,
        % solve the puzzle using the random number to shuffle values in the puzzle
    end
end

When I thought through it, I realized he may have meant that changing the random seed within an epoch may result in one or more epochs starting from the same random seed, and that’s why it may reduce the randomness. Is there any other explanation or is the reviewer’s understanding flawed?

When importing a wallet from private key or seed phrase, how do you guess the correct address format

I am building a bitcoin wallet, i can derive addresses using the derivation paths. how do i determine the derivation path for the seed when importing it.

wallet recovery – Retrieving bitcoin from old seed

In January 2016 I bought a bitcoin but I don’t remember what program I used. I used the seed code and now I entered a wallet. However, it is empty. And it also says there haven’t been any transactions ever. Did I enter a wrong seed or someone else’s seed? Or can the history be removed? Or does it matter in which program I use the seed? Or does it have to do with the halving? Please help me to recover my BTC.

wallet recovery – Retrieving from seed

in january 2016 i bought a bitcoin but i dont remember what program i used. I used the seed code and now i entered a wallet. However, it is empty. And it also says there havent been any transactions ever. Did i enter a wrong / someone else his seed? Or can the history be removed? Or does it matter in which program i use the seed? Or does it have to do with the halving? Please help me te recover my btc :]

thank you in advance

Is a ‘seed phrase’ independent of the type of wallet?

I have had a few things happen on my PC and for the moment can’t directly call up my bitcoin in its old wallet. There are files from various wallets sitting in my home directory but before I try to get a wallet program to retrieve from them, will find a piece of paper where I wrote a seed phrase.

The question is, can this seed phrase be entered into any wallet, whether it is Armory, Electrum, Wasabi, Bither to get the bitcoin back, or must I be careful to install exactly the same wallet which gave me the seed phrase in the first place?

Generate multiple public bitcoin receiving addresses (HD wallet) from seed phrase in nodejs

I want to generate a new receiving address for my bitcoin wallet for each new user. Bitcoin transferred to all these address should be received in my bitcoin wallet. I don’t want to expose my private key or seed on the server.I found that this is how HD wallets work so I tried this.

const bip39 = require('bip39')
const bitcoin = require('bitcoinjs-lib')   //ver 3.0.2

let phrase = 'width humor wheat sad obscure outer ancient grab edit labor record express devote humble recipe occur refuse tooth original fluid learn scheme fuel assault';
let seedBuffer = bip39.mnemonicToSeedSync(phrase)
// <Buffer 85 19 18 81 cf 0e cc f7 9c 5d 61 ......

let masterNode = bitcoin.HDNode.fromSeedBuffer(seedBuffer)
// Deriving the first account based on BIP44
let account0 = masterNode.derivePath("m/44'/0'/0'")

let xpubString = account0.neutered().toBase58()
console.log(xpubString)
let address0FromXpub = bitcoin.HDNode.fromBase58(xpubString)


let address0 = address0FromXpub.derivePath("0/0").keyPair.getAddress()
let address1 = address0FromXpub.derivePath("0/1").keyPair.getAddress()
let address2 = address0FromXpub.derivePath("0/2").keyPair.getAddress()
let address3 = address0FromXpub.derivePath("0/3").keyPair.getAddress()
// address0.toBase58()
console.log("address0",address0)
console.log("address1",address1)
console.log("address2",address2)
console.log("address3",address3)

but I tried sending bitcoin to the generated address and didn’t received any? If anyone could help.

coinbase.com – How does one create a brain wallet from a seed using SHA256?

BIP39-based Brainwallets kick ass over any older brain wallet technologies such as that encapulsulated by https://brainwalletx.github.io/. The rationale is because of the 2000 rounds of additional sha512 hardening of the brain wallet passphrase. This adds a computational coast for those trying to brute force discover the keys associated with low entropy brain wallets. Additionally, importing BIP 39 seed words, which are cryptocurrency agnostic, has now become much more broadly supported by HD wallets than importing specific wallet input format (WIF) private keys for specific coins.

  1. Unsafe test vector for a 12 BIP 39 Seed Word Brain Wallet:

    % echo -n "This is a very low entropy brain wallet seed that needs dhc&%hFF{)" | bx base16-encode | bx sha256 | cut -c 1-32 | bx mnemonic-new

    nothing flock unusual sibling physical world combine story atom above keep display

  2. Unsafe test vector for a 18 BIP 39 Seed Word Brain Wallet:

    % echo -n "This is a very low entropy brain wallet seed that needs dhc&%hFF{)" | bx base16-encode | bx sha256 | cut -c 1-48 | bx mnemonic-new

    nothing flock unusual sibling physical world combine story atom above keep disorder web spoil awake mom bring brother

  3. Unsafe test vector for a 24 BIP 39 Seed Word Brain Wallet:

    % echo -n "This is a very low entropy brain wallet seed that needs dhc&%hFF{)" | bx base16-encode | bx sha256 | cut -c 1-64 | bx mnemonic-new

    nothing flock unusual sibling physical world combine story atom above keep disorder web spoil awake mom bring broccoli cancel unveil bullet bird common frown

See bx for additional details, and be sure to take advantage of user defined BIP 39 passphrases to harden the brain wallet even further, see the mnemonic-to-seed bx command.

Seed – invest-seed.com – HYIPs

Name: Seed

invest-seed468.gif

Start: May 21st, 2020

Features: DDoS protection | SSL encryption | Licensed Blitz script | Dedicated server/IP

About Program:

Welcome to the first online platform to work with alternative coins and investment! The Seed company was established in the United States, the state of new York in 2015, and is the first and most ambitious campaign profit from cryptocurrency trading in the U.S. market. The platform is designed to provide international investors the earning potential in a constantly growing market of alternative coins. With a team of professionals Seed to earn on alternative coins simple, profitable and secure. In our team of the best traders from all over the world, which provide stable growth of your investment. Seed and its subsidiaries, specialized in trading have the following licenses: Regulations (NYDFS), Swap Execution Facility (CFTC) and introducing broker (NFA). We recently launched a unique investment vehicle for partners from all over the world who want to make a profit, have better conditions with a team of professionals. Seed offers a unique opportunity to obtain a stable and highly profitable income by working with us. At the moment we are working with 46 of the top AltCoins. They are considered the most promising coins on the cryptocurrency market. If the market will be a new potentially profitable Altcoin, we will add it in our daily trading activity. Professional financial team Seed developed 4 simple investment plan that will allow even new users to quickly understand and to learn the principles of investing and earning crypto currencies using our easy to use platform. Seed – step into the future.

Investment Plans: 3% – 10% daily for 10 – 30 days
Principal Return: At the end
Charging: Calendar days

Minimal Spend: $10
Maximal Spend: $250,000
Referral: 7%, 3%, 1%
Withdrawal: Manual

Payment systems: Bitcoin | Payeer | Perfect Money

investment.png
Date : 05/21/2020 23:02
From/To Account : U22610550
Amount : -50.00
Currency : USD
Batch : 315585351
Memo :  Shopping Cart Payment. Replenishment of an account through PerfectMoney user sqmonitor on 50.00 USD.
Payment ID : 642

Visit Seed and Sign Up

P.S. I am not owner or administrator. Information provided here only for view and discussion. Invest at your own risk.