Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

digest - base64 - std library

For general discussion related FlowStone

digest - base64 - std library

Postby Tronic » Mon Oct 08, 2012 2:34 pm

no present this standard library function?
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: digest - base64 - std library

Postby CoreStylerz » Mon Oct 08, 2012 4:16 pm

Tronic wrote:no present this standard library function?

Take a look for that:
http://synthmaker.co.uk/forum/viewtopic ... e64#p88384
It works also in FS.
Contains the base64 encode/decode.
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
User avatar
CoreStylerz
 
Posts: 327
Joined: Sun Jan 22, 2012 2:19 am
Location: italy

Re: digest - base64 - std library

Postby Tronic » Tue Oct 09, 2012 2:39 pm

THX CoreStylerz.
unfortunately only the base64, will not let me use the primitive "Network-Server & Client" effectively.
The DIGEST is very important if you want to have the ability to create systems challenge on the Web.
For example, to connect to a server with a username and password, the server typically sends me a code challenge, we use a sha-1 and base64, to respond to it and create a secure connection.
I will not speak of systems created by me, but the various protocols used in the web to date.

Then it is assumed that the Ruby primitive, has not included for the entire Standard Library of Ruby Language.

Ruby Standard Library QuickRef
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: digest - base64 - std library

Postby trogluddite » Fri Oct 19, 2012 4:32 pm

Hi Tronic,
i just had an interesting little discussion with the developers about this issue.
It seems that not including the entire library was a conscious decision. If libraries are used, it is necessary that they are present on any machine that makes use of the .exe export - easily leading to 'broken' programs for folks who do not realise the need to have the "support" libraries installled. So it has been assumed that "power users" will need to take responsibility for their own library management.
The "require" method is fully functional - so it is possible to use any library that you might need by "requiring" them from a regular Ruby installation (freely available as the Ruby One Click Windows Installer). Easiest thing is to use that Windows Ruby installer, and then at the start of your code, add the appropriate library directories to the "$:" system variable, thus...
$: << <pathname>
Those directories will then be added to the "require" search paths, and you will have access to every one of the standard libraries.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK


Return to General

Who is online

Users browsing this forum: No registered users and 27 guests