This commit is contained in:
msyu
2025-08-16 14:53:13 +03:00
commit 45c8017ebd
86 changed files with 7731 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<cfparam name="d" default=""/>
<cftry>
<cfif structKeyExists(form,"enc")>
<cfset d=toBase64(d)/>
<cfelseif structKeyExists(form,"dec")>
<cfset d=ToString(ToBinary(d))/>
</cfif>
<cfcatch type="ANY"><cfoutput>#cfcatch.message# #cfcatch.detail#</cfoutput></cfcatch>
</cftry>
<form action="" method="POST">
<textarea name="d" rows="10" cols="90"><cfoutput>#d#</cfoutput></textarea>
<button type="submit" name="enc">Encode to Base64</button>
<button type="submit" name="dec">Decode from Base64</button>
</form>