Data Port

© 2005 Goetz Heller

Table of Contents Description Source Code Copyright Note back

Base64 Encoding - Examples

PHP Version (for comparision):

    base64_encode('økj$?h{ffje;;:w6pvmv pewssssÿtmo') = '+GtqJD9oe2ZmamU7Ozp3NnB2bXYgcGV3c3Nzc/90bW8='
base64_encode('1') = 'MQ=='
base64_encode('12') = 'MTI='
base64_encode('123') = 'MTIz'
base64_encode('1234') = 'MTIzNA=='
base64_encode('12345') = 'MTIzNDU='
base64_encode('123456') = 'MTIzNDU2'
base64_encode('1234567') = 'MTIzNDU2Nw=='