Does anyone have a livecode equivalent for the ruby urlsafe_base64 function?   

urlsafe_base64(n=nil, padding=false)
::urlsafe_base64 generates a random URL-safe base64 string.
The argument n specifies the length of the random length. The length of the 
result string is about 4/3 of n.  If n is not specified, 16 is assumed. It may 
be larger in future.
The boolean argument padding specifies the padding. If it is false or nil, 
padding is not generated. Otherwise padding is generated. By default, padding 
is not generated because “=” may be used as a URL delimiter.   The result may 
contain A-Z, a-z, 0-9, “-” and “_”. “=” is also used if padding is true.


http://www.ruby-doc.org/stdlib-1.9.3/libdoc/securerandom/rdoc/SecureRandom.html#method-c-urlsafe_base64
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to