create an encrypted wallet using using random data
(password string)
| 145 | |
| 146 | // create an encrypted wallet using using random data |
| 147 | func 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 |
| 158 | func (w *Wallet_Memory) Set_Encrypted_Wallet_Password(password string) (err error) { |
no test coverage detected