>>>>> "d" == dsharp2@nc rr com <dsharp2 / nc.rr.com> writes:

d> enc = "Basic" + encode64( "donald:secret" )
          ^^^^^

 You have forgotten ' ' after Basic

 enc = "Basic " + encode64( "donald:secret" )


Guy Decoux