Author

Topic: Help with Vanitygen, how decrypt private keys (Read 696 times)

newbie
Activity: 31
Merit: 0
October 09, 2017, 12:52:59 PM
#9
thanks both of you!

I made some changes to the PROT key just in case, maybe thats why it gave an error. i'll try it again... that is if i can still remember the password.... doh!
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Interesting, after using vanitygen for a long time, I've never tried the encrypt-option.

C:\Users\Ynysmon\Downloads\vanitygen-0.20-win (1)>oclvanitygen.exe keyconv PsTNSPvWJF8mNm2JVSnwsX9fSFymdvvXZxecSABwpXrnkHVfUQi4qt8ekDTcgCm7qBAf
At least on Linux, keyconv is an executable on it's own. It doesn't work for me though:
Code:
ERROR: Unrecognized key format

@astralliam: I recommend to create a new private key, after posting the encrypted version online I wouldn't trust it anymore.
hero member
Activity: 1092
Merit: 582
C:\Users\Ynysmon\Downloads\vanitygen-0.20-win (1)>oclvanitygen.exe keyconv PsTNSPvWJF8mNm2JVSnwsX9fSFymdvvXZxecSABwpXrnkHVfUQi4qt8ekDTcgCm7qBAf
newbie
Activity: 31
Merit: 0
Use the code keyconv ENCRYPTED_KEY, it will ask you for the password, and return decrypted private key.

For your case it will be keyconv PsTNSPvWJF8mNm2JVSnwsX9fSFymdvvXZxecSABwpXrnkHVfUQi4qt8ekDTcgCm7qBAf

can you elaborate what you mean by  keyconv ENCRYPTED_KEY?
hero member
Activity: 1092
Merit: 582
Use the code keyconv ENCRYPTED_KEY, it will ask you for the password, and return decrypted private key.

For your case it will be keyconv PsTNSPvWJF8mNm2JVSnwsX9fSFymdvvXZxecSABwpXrnkHVfUQi4qt8ekDTcgCm7qBAf
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
Can I have the source code of the above mentioned vanitygen script?

The source is here: https://github.com/samr7/vanitygen

From this site
hero member
Activity: 1092
Merit: 582
Can I have the source code of the above mentioned vanitygen script?
staff
Activity: 3458
Merit: 6793
Just writing some code
There is no straightforward way to decrypt it because the decryption is not used anywhere (although implemented) in vanitygen. Just don't use the -e option and the private key will be in unencrypted form.
newbie
Activity: 31
Merit: 0
I'm using vanity get with the -e switch (Encrypt private keys, prompt for password)

this is the output I get:


C:\Users\Ynysmon\Downloads\vanitygen-0.20-win (1)>oclvanitygen.exe -i -e 1AstrLshp
Difficulty: 790461358860
Enter new password:
Verifying - Enter new password:
Pattern: 1AstrLshp
Address: 1AStRLSHpGRbYFKxv2TJJmkZkUDmqurWwq
Protkey: PsTNSPvWJF8mNm2JVSnwsX9fSFymdvvXZxecSABwpXrnkHVfUQi4qt8ekDTcgCm7qBAf


nowhere does it say what to with the "Protkey". Presumably there is some straightfwd way to decrypt it. I know the password. How to decrypt so i can use the account?
Jump to: