coinbin
coinbin copied to clipboard
Added AES decryption to #sign
Added a passphrase input to #sign which allows you to enter an AES-256 encrypted key into the private key input if you chose, which will be decrypted using the passphrase.
BIP38 support seems logical, but AES-256 is not a standard anywhere.
NACK
Just to clarify the reasoning for this was because the new address page has the option to AES encrypt your private key already, however there is no where available to decrypt this without using third party software.
As long as AES-256 encryption is offered on the new address page the way it currently is, I personally see a purpose for this.
Perhaps an alternative would be to replace the AES encryption altogether. Personally I just added this in for my own ease of use.
In that case, the trigger should not be just the value of the password box.
Ideally there should be a checkbox that onclicks to show() the entry input, unchecking hide() it as well as sets the val('') and empties it.
The form should decide whether to attempt decryption by the checkbox, not the value of the password
You should also give the input the same restrictions (if any) as the encryption input. A lot of users remember their passwords based on the requirements given to them.
Firstly, yes there are multiple ways of deciding whether to use encryption but I wanted to make it as simple as possible. I would argue is quicker and easier for the user to either type or not type a password.
One solution I thought of but did not implement, however could easily be done, is to hide the password box and show it if the input of the private key box apears to be encrypted. This would be even more simple and obvious to the user.
With respect to the restrictions, there are none and so there is nothing to display that would be helpful in this case.
Hi, Please can you tell me how to extract a WIF or private key from an AES-256 Encrypted WIF key ? Thank you.