FIPS 1420 compliant encryption.

8 views
Skip to first unread message

Tim Uckun

unread,
Jun 21, 2009, 6:55:12 PM6/21/09
to wellrailed
Has anybody had to implement FIPS 1420 compliant encryption schemes
before and if so what did you use?

I am thinking that the PGP SDK might be suitable but they don't have
ruby bindings (it's an .so file I think) how hard is it to make calls
into a C library with ruby? Are there issues with re-entrancy if I am
doing this from a rails app?

Stephen Davis

unread,
Jun 21, 2009, 8:21:40 PM6/21/09
to WellR...@googlegroups.com
For using .so libraries you could try http://kenai.com/projects/ruby-ffi, though I couldn't get it to work. Or, you can write some glue code in C.

2009/6/22 Tim Uckun <timu...@gmail.com>

wtca...@gmail.com

unread,
Jun 21, 2009, 9:34:41 PM6/21/09
to WellRailed
For which the following article may be useful. Read feedback comments
too for "inline C" suggestion...

http://www.rubyinside.com/how-to-create-a-ruby-extension-in-c-in-under-5-minutes-100.html

Wayne

On Jun 22, 12:21 pm, Stephen Davis <step...@projectx.co.nz> wrote:
> For using .so libraries you could tryhttp://kenai.com/projects/ruby-ffi,
> though I couldn't get it to work. Or, you can write some glue code in C.
>
> 2009/6/22 Tim Uckun <timuc...@gmail.com>

Henry Maddocks

unread,
Jun 21, 2009, 10:35:13 PM6/21/09
to WellR...@googlegroups.com
Write yourself Ruby extension. It's pretty easy if you know C.

Stephen Davis

unread,
Jun 21, 2009, 11:41:43 PM6/21/09
to WellR...@googlegroups.com
(Yeah, having a tutorial might help :-)

Also, README.EXT in the ruby sources is a good reference.

Wayne Carter

unread,
Jun 21, 2009, 11:56:27 PM6/21/09
to WellR...@googlegroups.com
Whoops, i see your point Stephen, but that's what a Google search turns up and I didn't need to look any deeper for my stuff.  It's only a few second read anyway..

Wayne 



This email is from Wayne Carter
Pet Lambie Ltd, New Zealand


------------------------------------------------------------
The contents of this email are possibly 
confidential.  If you are not the intended
recipient, please reply to the sender 
notifying them of their mistake and 
delete the email from your system.

Thank you
Pet Lambie Ltd.
------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages