Encryption of the API token #2969
|
Hello there! So how do i get from "otz2134pda35uDhgGJHi2134uasdhgfpiuziu" to "abc"? |
Answered by
schrej
Jan 4, 2021
Replies: 2 comments 1 reply
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The token that you see in the database is encrypted using the
APP_KEYdefined in the.envfile. It can be decrypted using thedecrypt()method of theEncrypterthat is part of laravel, see here for an example.