| Package | Description |
|---|---|
| com.google.bitcoin.core | |
| com.google.bitcoin.crypto |
| Modifier and Type | Method and Description |
|---|---|
EncryptedPrivateKey |
ECKey.getEncryptedPrivateKey() |
| Constructor and Description |
|---|
ECKey(EncryptedPrivateKey encryptedPrivateKey,
byte[] pubKey,
KeyCrypter keyCrypter)
Create a new ECKey with an encrypted private key, a public key and a KeyCrypter.
|
| Modifier and Type | Method and Description |
|---|---|
EncryptedPrivateKey |
EncryptedPrivateKey.clone() |
EncryptedPrivateKey |
KeyCrypterScrypt.encrypt(byte[] plainBytes,
org.spongycastle.crypto.params.KeyParameter aesKey)
Password based encryption using AES - CBC 256 bits.
|
EncryptedPrivateKey |
KeyCrypter.encrypt(byte[] plainBytes,
org.spongycastle.crypto.params.KeyParameter aesKey)
Encrypt the supplied bytes, converting them into ciphertext.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
KeyCrypterScrypt.decrypt(EncryptedPrivateKey privateKeyToDecode,
org.spongycastle.crypto.params.KeyParameter aesKey)
Decrypt bytes previously encrypted with this class.
|
byte[] |
KeyCrypter.decrypt(EncryptedPrivateKey encryptedBytesToDecode,
org.spongycastle.crypto.params.KeyParameter aesKey)
Decrypt the provided encrypted bytes, converting them into unencrypted bytes.
|
| Constructor and Description |
|---|
EncryptedPrivateKey(EncryptedPrivateKey encryptedPrivateKey)
Cloning constructor.
|
Copyright © 2014. All rights reserved.