Navigation Structure

Table of contents

  1. _base64encode
  2. _base64decode

Funcml-core is able to encode and decode base64.

_base64encode

Input should be a string and output is the string encoded in base64.

Usage

key:
  _base64encode: |
    test

will be rendered as:

key: dGVzdA=

Obviously, and like every other function of funcml-core, it can take any “string-returner” as a valid input.

key:
  _base64encode: 
    _readfile: "./test.txt

_base64decode

Decode a base64 string and returns a string.

Usage

key:
  _base64decode: "dGVzdA="

will be rendered as:

key: test