Base64 encoding and decoding is including in IPWorks!, but here are some 
functions to make things a little easier.

Here is the code:

AddObject "IPWorks.NetCode.1", "netcode"

Function base64Encode(text)
   netcode.Format = 1
   netcode.DecodedData = text
   netcode.EncodeToString
   base64Encode = netcode.EncodedData
End Function

Function base64Decode(text)
   netcode.Format = 1
   netcode.EncodedData = text
   netcode.DecodeToString
   base64Decode = netcode.DecodedData
End Function


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to