Could someone tell me what Cg==
means, I just know it's related to Base64.
I have searched but I still don't have a correct answer or an idea of what it is, and I don't have much knowledge about base64
Cg== is the base64 encode of the new line character in the latest position. So if you want to encode ABC you will get QUJD , however if you include a "return character" after ABC you will get QUJDCg== .
(1) (Computer Graphics) See graphics and computer-generated imagery.
If you come across a broadcaster or user on Twitch whom you feel has violated Twitch's Terms of Service (ToS) or Community Guidelines (CG), you have the ability to send a report to our Moderation team for review.
Congratulations. 6. Hezkezl • 8 yr. ago. Additional comment actions.
Cg== is the base64 encode of the new line character in the latest position. So if you want to encode ABC
you will get QUJD
, however if you include a "return character" after ABC
you will get QUJDCg==
.
You can use hexdump
or xxd
to reveal the actual value of the character in hexadecimal. In the case of Cg==
, it's a linefeed (0A
) which can be verified with the following:
❯ echo -n "Cg==" | base64 -d | hexdump -C
00000000 0a |.|
00000001
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With