Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: laraveldeveloper on April 23, 2018, 05:39:18 AM



Title: Need help about SPKAC in Crypto?
Post by: laraveldeveloper on April 23, 2018, 05:39:18 AM
Hi guys,

Can please little explain about SPKAC in simple words? So i can able to understand perfectly about SPKAC.


Title: Re: Need help about SPKAC in Crypto?
Post by: bob123 on April 23, 2018, 06:42:32 AM
SPKAC stands for Signed Public Key and Challenge (https://en.wikipedia.org/wiki/SPKAC).

Quote
It is a format for sending a Certification Signing Request ... It is created using the little documented HTML keygen element[2] inside a number of Netscape compatible browsers.
- Wikipedia (https://en.wikipedia.org/wiki/SPKAC)


Where did you read it in the context with crypto (cryptocurrency? or cryptography?) ?
I am not aware of any blockchain project somehow utilizing SPKAC.
This is something completely different (if you are comparing it with signature algorithms, etc.. in crypto(currencies)).






Title: Re: Need help about SPKAC in Crypto?
Post by: laraveldeveloper on April 23, 2018, 07:02:38 AM
SPKAC stands for Signed Public Key and Challenge (https://en.wikipedia.org/wiki/SPKAC).

Quote
It is a format for sending a Certification Signing Request ... It is created using the little documented HTML keygen element[2] inside a number of Netscape compatible browsers.
- Wikipedia (https://en.wikipedia.org/wiki/SPKAC)


Where did you read it in the context with crypto (cryptocurrency? or cryptography?) ?
I am not aware of any blockchain project somehow utilizing SPKAC.
This is something completely different (if you are comparing it with signature algorithms, etc.. in crypto(currencies)).





I am trying to follow below link so i can able to implement crypto using node js then i saw SPKAC  there i am confused about the SPKAC so i tried to figure out here "what SPKAC exactly".
https://nodejs.org/api/crypto.html (https://nodejs.org/api/crypto.html)


Title: Re: Need help about SPKAC in Crypto?
Post by: bob123 on April 23, 2018, 07:27:56 AM
I am trying to follow below link so i can able to implement crypto using node js then i saw SPKAC  there i am confused about the SPKAC so i tried to figure out here "what SPKAC exactly".
https://nodejs.org/api/crypto.html (https://nodejs.org/api/crypto.html)


'The crypto module provides cryptographic functionality that includes a set of wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify functions'. (https://nodejs.org/api/crypto.html#crypto_crypto)

Further, 'SPKAC is a Certificate Signing Request mechanism originally implemented by Netscape and was specified formally as part of HTML5's keygen element'. (https://nodejs.org/api/crypto.html#crypto_class_certificate)


Everything is explained in the link you have posted.
This is not related to cryptocurrencies. It is used for cryptographical functions (requesting, signing, verifying, ... signatures/authentication codes/etc.. ).


Title: Re: Need help about SPKAC in Crypto?
Post by: laraveldeveloper on April 23, 2018, 07:49:40 AM
You mean we can not able to use this crypto library to develop any sample program of node js with blockchain. Can you provide me any valuable link so i can start creating private key and associated public in node js?


Title: Re: Need help about SPKAC in Crypto?
Post by: bob123 on April 23, 2018, 08:03:00 AM
A Javascript bitcoin libary can be found here: https://github.com/bitcoinjs/bitcoinjs-lib (https://github.com/bitcoinjs/bitcoinjs-lib).

An bitcoin core RPC client can be found here on NPM (https://www.npmjs.com/package/bitcoin-core).


Both are the first results on google.
Quite a lot of repositories, code snippets, libaries, .. can be found pretty fast using google.