diff --git a/geth-sources.jar b/geth-sources.jar index b02f4d474945..8aa1c70aa990 100644 Binary files a/geth-sources.jar and b/geth-sources.jar differ diff --git a/mobile/accounts.go b/mobile/accounts.go index 4d979bffff5d..55a49ca9a1a7 100644 --- a/mobile/accounts.go +++ b/mobile/accounts.go @@ -103,6 +103,11 @@ func (ks *KeyStore) GetAccounts() *Accounts { return &Accounts{ks.keystore.Accounts()} } +// Decrypt decrypts an ECIES ciphertext. +func (ks *KeyStore) Decrypt(account *Account, cipher []byte) ([]byte, error) { + return ks.keystore.Decrypt(account.account, cipher, nil, nil) +} + // DeleteAccount deletes the key matched by account if the passphrase is correct. // If a contains no filename, the address must match a unique key. func (ks *KeyStore) DeleteAccount(account *Account, passphrase string) error {