0x255fc87365096bfcc696e8e9ecbe737e31e5be3ac338d2fdfa47a20cf719f33e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my identity on Peepeth.com 0xe86935943315293154c7ad63296b4e1adac76364 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xc071f3c92f780f8d8d7d27ef6fb4e86afd23da88 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x4b483f17dbfc728f73b768f763cd4176247f265a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private byte[] getDigestExtra(String toBeSigned, byte[] extra) throws NoSuchProviderException { | |
MessageDigest md = null; | |
try { | |
md = MessageDigest.getInstance("SHA1", "BC"); | |
for (byte b : toBeSigned.getBytes()) { | |
System.out.println("b: " + Hex.toHexString(new byte[]{b})); | |
md.update(b); | |
} | |
for (byte b : extra) { | |
System.out.println("b: " + Hex.toHexString(new byte[]{b})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signature signer = Signature.getInstance(Signature.ALG_ECDSA_SHA, false); | |
signer.init(cardPrivateKey, Signature.MODE_SIGN); | |
byte[] sigBuffer = new byte[100]; | |
short size = signer.sign(buffer, offset, length, sigBuffer, (short) 0); | |
byte[] result = new byte[size]; | |
Util.arrayCopyNonAtomic(sigBuffer, (short) 0, result, (short) 0, size); | |
return result; |
I hereby claim:
- I am biafra23 on github.
- I am dirkjaeckel (https://keybase.io/dirkjaeckel) on keybase.
- I have a public key whose fingerprint is 1C66 76AF 8572 DDE3 623B 7880 A258 970F A53E 4591
To claim this, I am signing this object: