MCPcopy Create free account
hub / github.com/deroproject/derohe / Create_Encrypted_Wallet_Random_Memory

Function Create_Encrypted_Wallet_Random_Memory

walletapi/wallet_memory.go:147–155  ·  view source on GitHub ↗

create an encrypted wallet using using random data

(password string)

Source from the content-addressed store, hash-verified

145
146// create an encrypted wallet using using random data
147func Create_Encrypted_Wallet_Random_Memory(password string) (w *Wallet_Memory, err error) {
148 w, err = Create_Encrypted_Wallet_Memory(password, crypto.RandomScalarBNRed())
149
150 if err != nil {
151 return
152 }
153 // TODO setup seed language, default is already english
154 return
155}
156
157// wallet must already be open
158func (w *Wallet_Memory) Set_Encrypted_Wallet_Password(password string) (err error) {

Callers 1

Calls 2

RandomScalarBNRedFunction · 0.92

Tested by

no test coverage detected