Package | Description |
---|---|
com.google.bitcoin.core | |
com.google.bitcoin.crypto |
Modifier and Type | Method and Description |
---|---|
ECKey |
ECKey.decrypt(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey)
Create a decrypted private key with the keyCrypter and AES key supplied.
|
ECKey |
ECKey.encrypt(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey)
Create an encrypted private key with the keyCrypter and the AES key supplied.
|
ECKey.ECDSASignature |
ECKey.sign(Sha256Hash input)
Signs the given hash and returns the R and S components as BigIntegers.
|
ECKey.ECDSASignature |
ECKey.sign(Sha256Hash input,
org.spongycastle.crypto.params.KeyParameter aesKey)
Signs the given hash and returns the R and S components as BigIntegers.
|
String |
ECKey.signMessage(String message)
Signs a text message using the standard Bitcoin messaging signing format and returns the signature as a base64
encoded string.
|
String |
ECKey.signMessage(String message,
org.spongycastle.crypto.params.KeyParameter aesKey)
Signs a text message using the standard Bitcoin messaging signing format and returns the signature as a base64
encoded string.
|
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.
|
org.spongycastle.crypto.params.KeyParameter |
KeyCrypterScrypt.deriveKey(CharSequence password)
Generate AES key.
|
org.spongycastle.crypto.params.KeyParameter |
KeyCrypter.deriveKey(CharSequence password)
Create a KeyParameter (which typically contains an AES key)
|
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.
|
Copyright © 2014. All rights reserved.