/BasEE64

BasEE64 is an ExpressionEngine plugin that encodes and decodes data via the php base64_encode() and base64_decode() function.

Primary LanguagePHP

#BasEE64

BasEE64 is an ExpressionEngine plugin that encodes and decodes data via the php base64_encode() and base64_decode() function.

##Example of encoding:

{exp:basee64:encode}
	This<br>
	is<br>
	on<br>
	many<br>
	lines
{/exp:basee64:encode}

Will result in the string:

ICAgIFRoaXM8YnI+DQogICAgaXM8YnI+DQogICAgb248YnI+DQogICAgbWFueTxicj4NCiAgICBsaW5lcw==

##Example of decode:

{exp:basee64:decode}
	ICAgIFRoaXM8YnI+DQogICAgaXM8YnI+DQogICAgb248YnI+DQogICAgbWFueTxicj4NCiAgICBsaW5lcw==
{/exp:basee64:decode}

Will result in the string:

	This<br>
	is<br>
	on<br>
	many<br>
	lines

##Example of recursion:

{exp:basee64:decode}
	{exp:basee64:encode parse="inward"}
		This<br>
		is<br>
		on<br>
		many<br>
		lines
	{/exp:basee64:encode}
{/exp:basee64:decode}