mirror of
https://github.com/bitcoin/bips.git
synced 2025-06-30 12:42:43 +00:00
media wiki format
This commit is contained in:
parent
6a181756e4
commit
95db88b5e8
@ -64,7 +64,7 @@ To verify a signature, the recId is obtained by subtracting this constant from t
|
|||||||
|
|
||||||
Note: this code is a modification of the BitcoinJ code which is written in java.
|
Note: this code is a modification of the BitcoinJ code which is written in java.
|
||||||
|
|
||||||
```
|
<nowiki>
|
||||||
public static ECKey signedMessageToKey(String message, String signatureBase64) throws SignatureException {
|
public static ECKey signedMessageToKey(String message, String signatureBase64) throws SignatureException {
|
||||||
byte[] signatureEncoded;
|
byte[] signatureEncoded;
|
||||||
try {
|
try {
|
||||||
@ -113,7 +113,7 @@ Note: this code is a modification of the BitcoinJ code which is written in java.
|
|||||||
throw new SignatureException("Could not recover public key from signature");
|
throw new SignatureException("Could not recover public key from signature");
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
```
|
</nowiki>
|
||||||
|
|
||||||
==Backwards Compatibility==
|
==Backwards Compatibility==
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user