Title: Help with Vanitygen, how decrypt private keys Post by: astralliam on October 03, 2017, 04:51:39 PM 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? Title: Re: Help with Vanitygen, how decrypt private keys Post by: achow101 on October 03, 2017, 06:05:56 PM 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.
Title: Re: Help with Vanitygen, how decrypt private keys Post by: SM23031997 on October 03, 2017, 07:24:03 PM Can I have the source code of the above mentioned vanitygen script?
Title: Re: Help with Vanitygen, how decrypt private keys Post by: jackg on October 03, 2017, 07:32:33 PM Can I have the source code of the above mentioned vanitygen script? The source is here (https://github.com/samr7/vanitygen): https://github.com/samr7/vanitygen From this (https://en.bitcoin.it/wiki/Vanitygen) site Title: Re: Help with Vanitygen, how decrypt private keys Post by: SM23031997 on October 03, 2017, 08:03:52 PM 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 Title: Re: Help with Vanitygen, how decrypt private keys Post by: astralliam on October 05, 2017, 08:22:36 AM 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? Title: Re: Help with Vanitygen, how decrypt private keys Post by: SM23031997 on October 05, 2017, 09:37:49 AM C:\Users\Ynysmon\Downloads\vanitygen-0.20-win (1)>oclvanitygen.exe keyconv PsTNSPvWJF8mNm2JVSnwsX9fSFymdvvXZxecSABwpXrnkHVfUQi4qt8ekDTcgCm7qBAf
Title: Re: Help with Vanitygen, how decrypt private keys Post by: LoyceV on October 05, 2017, 02:36:13 PM 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. Title: Re: Help with Vanitygen, how decrypt private keys Post by: astralliam on October 09, 2017, 05:52:59 PM 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! |