Answer the question
In order to leave comments, you need to log in
How to decode aes128gcm?
Hello!
How can I decode a request from a web push notification if authToken and publicKey are known.
$ciphertext = .....; // тело запроса
$publicKey = 'BCR.....'; // он же p256dh Key
$authToken ='J4E5H.......';
echo openssl_decrypt($ciphertext, "aes-128-gcm",$publicKey, 0, $authToken);
Answer the question
In order to leave comments, you need to log in
The first question is why did you decide that you need a public key if this is asymmetric encryption
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question