• Gustav Simonsson's avatar
    Add ImportPreSaleKey · 1f8290ca
    Gustav Simonsson authored
    * ImportPreSaleKey takes a KeyStore, a presale key JSON (e.g. file content)
      and a password string. It stores the key in the given key store.
    * Refactored common AES decryption and moved some functions to crypto.go
    1f8290ca
crypto.go 5.13 KB