[program-l] Re: API security

  • From: Taksan <taksantong@xxxxxxxxx>
  • To: program-l@xxxxxxxxxxxxx
  • Date: Tue, 13 Nov 2018 14:24:45 -0300

well there are lots of theory, but, I will try to give you a very quick summary:

There are two ways to encrypt information: using symmetric password
and using asymmetric or pairs of passwords.

Symmetric encryption is your classic, usual encryption. You have data,
you have a password. You encrypt.

Asymmetric uses a "pair" of keys, or a "pair of passwords" one public,
one private. Each person has a pair of passwords. One public to share
with the world, one private. If I want to send you information I would
encrypt the data with your public key so that you and only you can
decrypt it using your private key. And viceversa.

That was a very very very crude and basic explanation. Hope it helps.

On 11/13/18, Jordy Deweer <jordyydeweer@xxxxxxxxx> wrote:

Hi Taksan

For now, I am using PHP, but I am more asking for an explanation on how
it works, so that i can use it in Python as well.

Regards, Jordy.

On 11/13/2018 1:23 PM, Taksan wrote:
Jordy: usually those things require an encryption library. Depending
on the programming language you are using you need to install one.
What language are you using?

On 11/13/18, Jordy Deweer <jordyydeweer@xxxxxxxxx> wrote:
Dear all

Is there someone here, who can explain me how to generally use a
public/private key pair for api access? I really don't find a clear
explanation on the web...

Thanks for the help :)

Regards, Jordy.

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: