hello, how can I convert these clearkeys to hexa, when converting it from base64 to hex it does not accept characters such as , - _ :
which one should I replace with in order to convert them to hexa correctly
this is the same clearkeyCode:{"keys":[{"kty":"oct","k":"gTJACVEd4_8h6Q5S34CAdg","kid":"-qGVMAlCVmiFexrqS-takg"}],"type":"temporary"}
Code:{"auth":"gTJ+CVEd4_:h6Q5S34C+dg","gen":",qGVM-lCVmiFexrqS,takg"}
+ Reply to Thread
Results 1 to 3 of 3
-
Last edited by tere1579; 23rd Aug 2022 at 16:20.
-
gTJACVEd4_8h6Q5S34CAdg is base64url encoded
Replace '_' with '/' and replace '-' with '+' and add some padding characters '=' so that it is a multiple of 4.
ie.
Base64url: gTJACVEd4_8h6Q5S34CAdg
Base64: gTJACVEd4/8h6Q5S34CAdg==
Hex: 81324009511DE3FF21E90E52DF808076 -
Similar Threads
-
HELP How to convert clearkey to hexa
By tere1579 in forum Video Streaming DownloadingReplies: 1Last Post: 19th Aug 2022, 17:50 -
[Solved] How to decrypt the clearkey?
By adidaz in forum Video Streaming DownloadingReplies: 3Last Post: 11th Mar 2022, 21:06