Skip to content
Andrew edited this page Nov 15, 2022 · 1 revision

What is a Base64

In computer programming, Base64 is a group of binary-to-text encoding schemes that represent binary data (more specifically, a sequence of 8-bit bytes) in sequences of 24 bits that can be represented by four 6-bit Base64 digits.

Common to all binary-to-text encoding schemes, Base64 is designed to carry data stored in binary formats across channels that only reliably support text content. Base64 is particularly prevalent on the World Wide Web[1] where one of its uses is the ability to embed image files or other binary assets inside textual assets such as HTML and CSS files.[2]

How to use

local encrypted= crypt.base64.encrypt('hello world')
print(encrypted)

local decrypted = crypt.base64.decrypt(encrypted)
print(decrypted )
Clone this wiki locally