Answer the question
In order to leave comments, you need to log in
How to decode a string correctly?
In the code on the site, the input parameters are base64 encoded, when I try to decode, I get part of the data - correct, but part - with artifacts.
S9dal3A#₧Ɨ既ӣCア&f憒#₢ⷷF禖vR涖沖ֶ緆W"涶Ҷַf旲棃V3fS㖦#cC3擖dz#54䔂63cfdb8b536a6fd92f45ac/49de608f691c93fa03eb9fae867223b6:2019103000:6a805fce3/hls.m3u8 or //.storage.kino-monster.com/movies/f45c6e99fb61d38a1b63cfdb8b536a6fd92f45ac/0d6980a456bcd401ea0a1ed520fbfa27:2019103000:6a805fce3/hls.m3u8 or //storage.kino-monster.com/movies/f45c6e99fb61d38a1b63cfdb8b536a6fd92f45ac/49de608f691c93fa03eb9fae867223b6:2019103000:6a805fce3/360.mp4 or //storage.kino-monster.cј[L6撶ַf旲棃V3fS㖦#cC3擖#c66fF#棓3fffC㦣CV2ㆃcテCSg웜̢cd401ea0a1ed520fbfa27:2019103000:6a805fce3/360.mp4 or ", "cuid": "f45c6e99fb61d38a1b63cfdb8b536a6fd92f45ac", "forbidden_quality": "Авто, 240p", "default_quali涆#4G⣢#C㇂'Ѐ
var playerjs = new Playerjs("#2eyJpZC//UzlkYWwzQQ==I6ICJwbGF5ZXItMjQ4MCIsICJmaWxlIjogIi8vc3RvcmFnZS5raW5vLW1vbnN0ZXIuY29tL21vdmllcy9mNDVjNmU5OWZiNjFkMzhhMW//YWxzMjNTS0E=I2M2NmZGI4YjUzNmE2ZmQ5MmY0NWFjLzQ5ZGU2MDhmNjkxYzkzZmEwM2ViOWZhZTg2NzIyM2I2OjIwMTkxMDMwMDA6NmE4MDVmY2UzL2hscy5tM3U4IG9yIC8vLnN0b3JhZ2Uua2luby1tb25zdGVyLmNvbS9tb3ZpZXMvZjQ1YzZlOTlmYjYxZDM4YTFiNjNjZmRiOGI1MzZhNmZkOTJmNDVhYy8wZDY5ODBhNDU2YmNkNDAxZWEwYTFlZDUyMGZiZmEyNzoyMDE5MTAzMDAwOjZhODA1ZmNlMy9obHMubTN1OCBvciAvL3N0b3JhZ2Uua2luby1tb25zdGVyLmNvbS9tb3ZpZXMvZjQ1YzZlOTlmYjYxZDM4YTFiNjNjZmRiOGI1MzZhNmZkOTJmNDVhYy80OWRlNjA4ZjY5MWM5M2ZhMDNlYjlmYWU4NjcyMjNiNjoyMDE5MTAzMDAwOjZhODA1ZmNlMy8zNjAubXA0IG9yIC8vc3RvcmFnZS5raW5vLW1vbnN0ZXIuY//QVNEYWwxMA==29tL21vdmllcy9mNDVjNmU5OWZiNjFkMzhhMWI2M2NmZGI4YjUzNmE2ZmQ5MmY0NWFjLzBkNjk4MGE0NTZ//ZGZzbHMziY2Q0MDFlYTBhMWVkNTIwZmJmYTI3OjIwMTkxMDMwMDA6NmE4MDVmY2UzLzM2MC5tcDQgb3IgIiwgImN1aWQiOiAiZjQ1YzZlOTlmYjYxZDM4YTFiNjNjZmRiOGI1MzZhNmZkOTJmNDVhYyIsICJmb3JiaWRkZW5fcXVhbGl0eSI6ICLQkNCy0YLQviwgMjQwcCIsICJkZWZhdWx0X3F1YWxp//U2hnbGEyMTM=dHkiOiAiNDgwcCJ9");
Answer the question
In order to leave comments, you need to log in
Try the CryptoJS library.
Example:
var base64 = 'SGVsbG8gd29ybGQ=';
var words = CryptoJS.enc.Base64.parse(base64);
var textString = CryptoJS.enc.Utf8.stringify(words); // 'Hello world'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question