> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# base64_encode

> Lua string byte degerlerini Base64 encoder ile encode eder, = padding kullanir ve satir sonu eklemez.

<div className="real-function-page">
  ```lua theme={null}
  base64_encode(data: string): string
  ```

  ## Aliaslar

  * `base64encode`
  * `base64.encode`
  * `crypt.base64.encode`
  * `crypt.base64_encode`
  * `crypt.base64encode`

  ## Argümanlar

  <ParamField path={"data"} type={"string"} required>
    Base64 encoder icine aktarilan Lua string byte degerleri.
  </ParamField>

  ## Dönüşler

  <ResponseField name={"encoded"} type={"string"}>
    Lua string olarak dondurulen Base64 ciktisi.
  </ResponseField>

  ## Örnek

  Bir Lua string degerini encode et ve Base64 ciktisini yazdir.

  ```lua theme={null}
  local encoded = base64_encode("hello world")

  print(encoded)
  print(base64encode("hello world"))
  print(base64.encode("hello world"))
  ```
</div>
