Hi,

I don't know about coLinux, but you can run Factor as a native Windows
executable, and you can find a pre-compiled OpenSSL library at
http://factorcode.org/dlls/ssleay32.dll. Place this in the same
directory as factor.exe and you're all set. Alternatively, you can run
Factor under Ubuntu Linux. OpenSSL ships with the system, but you will
need to install the openssl-dev package to ensure that Factor can find
the library; the -dev package creates a symbolic link from
/usr/lib/libssl.so.0 to /usr/lib/libssl.so.

Factor's OpenSSL binding was mostly intended to be used with SSL
sockets (io.sockets.secure vocabulary) and so far this has only been
implemented on Unix. You can evaluate this in the listener to read
documentation about the SSL socket support:

"io.sockets.secure" about

The API there is quite high-level and for the most part you are
insulated from the details of OpenSSL itself. It has seen some
moderate testing on concatenative.org, where HTTPS connections are
used to authenticate users editing the wiki.

As for the rest of OpenSSL other than secure sockets, namely the
various crypto and checksum routines -- this support has not been
stubbed out completely in the OpenSSL binding, and in particular
bindings to most of libcrypto are missing. Take a look at
basis/checksums/openssl for an example of using OpenSSL to compute
SHA1 and MD5 checksums.

Contributions to improve any of this are welcome,

Slava

On Thu, Feb 12, 2009 at 7:31 AM, Maxim Savtchenko <[email protected]> wrote:
> Hello.
>
> I'm currently trying to play with cryptography in factor and have
> discovered, that I'm not understanding how to call OpenSSL routines.
> What exact steps should I take to make
>
>    USE: openssl
>    init-ssl
>
> not to fail with "The image refers to a library or symbol that was not
> found at load time"? I've searched through docs, but no recipe showed
> up.
>
> I'm using AndLinux (Ubuntu with coLinux kernel under WinXP). Thank you
> in advance.
>
> Maxim Savchenko
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to