Base64 encode data: Difference between revisions
Content added Content deleted
(→{{header|REXX}}: added a wikipedia reference. -- ~~~~) |
m (→{{header|REXX}}: changed the format on what was used for input. -- ~~~~) |
||
Line 93: | Line 93: | ||
return $||copies('=', 2*(L//6==2)+(L//6==4)) /*maybe append equal signs*/</lang> |
return $||copies('=', 2*(L//6==2)+(L//6==4)) /*maybe append equal signs*/</lang> |
||
For the various outputs, serveral input texts from the [http://en.wikipedia.org/wiki/Base64] |
For the various outputs, serveral input texts from the Wikipedia article on ''Base64'' [http://en.wikipedia.org/wiki/Base64] were used to demonstrate how padding works. |
||
<br><br> |
<br><br> |
||
'''output''' when using the input of: <tt> , any carnal pleasure. </tt> |
'''output''' when using the input of: <tt> , any carnal pleasure. </tt> |