C
C
Crash2018-04-24 16:16:01
PHP
Crash, 2018-04-24 16:16:01

What is the simplest but most reliable way to implement encryption and decryption of API keys?

There are secret API keys that need to be stored in the database. This is a very important info, because. they allow you to access the wallets of your account on the cryptocurrency exchange. Therefore, they must be stored in encrypted form.
What is the best way to encrypt when writing to the database and decrypt when retrieving from there, using PHP?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-04-24
@Sanasol

php.net/manual/en/book.openssl.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question