similar to: Encrypting files

Displaying 20 results from an estimated 1000 matches similar to: "Encrypting files"

2006 Apr 23
1
ezcrypto HELP!!!!
I''m using the ezcrypto library for aes encryption, but i''m running into some weird cases that i cant seem to figure out. What i''m doing is trying to encrypt someting in php using standard AES 128. I''m taking the output from php and trying to decrypt it with ruby using ezcrypto. This seems to work for a lot of cases, but it does not work for some others. Any
2005 Dec 15
3
session scope?
Hi all, I''m working on a Rails application. In this application I retrieve a list of ''brands'' using a method somewhere defined in my controller: private def get_brands @brands = Product.find_by_sql("select distinct brand from products"); end However, I display this information in a listbox in the template for my controller. This means @brands
2005 Dec 16
5
Question: image_tag(source, options = {})
image_tag(source, options = {}) Ok, when I want to use an image I added the following code: <%= image_tag "dsf.jpg" options = {[align="right", style="padding-right: 10px; padding-top: 5px;"]} %> However, this doesn''t seem to work, it doesn''t like how I have the "options" part setup. I''m sure there is something very easy
2005 Dec 15
5
site takes a while to load after first visit in a while
Using lighttpd + fcgi to power a site. When no one has accessed it in a while, the first visit to the page takes a while to load up. Then subsequent visits are fairly fast. Any ideas on how to fix it?
2005 Dec 08
3
lighttpd proxy w/ apache2
I''ve tried a bunch of things trying to get ruby/apache2 and php working together. I looked over my earlier post and followed the instructions on ezra''s website to install lighttpd on debian. I''ve gotten really far but I think there is one bit missing: 1. I got apache2 and php working together 2. I got lighttpd working on port 3000 and my rails app launches ok
2006 Jan 21
19
RoR - Mac OS 10.4.4 on Intel
I got a new 20 inch iMac dual core today and am busy getting it all setup. A couple of issues though: 1. Is the Ruby 1.8.2 install by Apple still botched or has that been fixed? I recall someone had fixed the rbconfig.rb to get it working. Is this something I still have to do? 2. Does anyone know if Locomotive is using the uniersal binaries, or is it targetting PPC yet? I couldn''t
2009 May 06
4
Encrypting large amounts of text
Hi, I have an application where I want to be able to encrypt large amounts of text before storing them to my DB (MySQL Text field - might be switched to a Blob). I have an idea of how to do this, but was wondering what the general consensus is within the community regarding the issue. I have come across a couple different plug ins/gems (Stringbox, EzCrypto), but am wondering what other people
2005 Dec 01
12
Difficult process of restarting SCGI, Lighttpd, Apache, sessions
I''ve managed to get Rails working using Apache->Lighttpd->SCGI. Restarting everything is really difficult. This appears to be the process: - stop apache - stop lighttpd - stop scgi - make sure scgi still isn''t running (it sometimes does) - if it is, kill it - delete all session files (they often cause permission errors) - start scgi - start apache - start lighttpd - cross
2005 Dec 21
8
textilize - redcloth
Hi, I''m using textilize with redcloth 3.0.4. Everything works best except that paragraphs are not translated as an HTML paragraph When I write something like: *first paragraph* second paragraph the output is without paragraph: *first paragraph* second paragraph Any help??? Thanks Jörg
2006 Jan 04
7
<% if ... -%> What is this?
I seen some RoR code that went like this: <% if ...blah, blah... -%> .. blah, blah <% end -%> What are the minus signs for in the if statement? Cannot seem to find anything about this, and searching on "-" in this context is hard to get anything meaningfull back. Thanks, - Mark -- Posted via http://www.ruby-forum.com/.
2006 Feb 19
2
Asynchronous Encryption?
Hi Railers, I''m looking for something to do asynchronous encryption - where the encryption and decryption keys are different. This is for a scenario where I want to be able to store some information in the database that can only be decrypted in a different physical location using a secret private key (which will not be stored on the machine doing the encrypting). I''m trying
2006 Feb 01
5
lighttpd not starting on os X (intel)
Hi all, I''m followed the instructions written here to prepare my new iMac for Ruby / Rails developement: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger When I run script/server I get the following output: harm-de-laats-computer:~/rails/test harmdelaat$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) =>
2006 Feb 19
8
require ''digest/md5'' not working on Mac or Windows
I''ve tried the following line in ruby script/console require ''digest/md5'' Both my Mac (Intel iMac) and my Windows box return "false"... Any ideas what could be wrong? I was trying to do the RoR Recipe on page 54 of Chad Fowler''s new (beta) book. -Mark -- Posted via http://www.ruby-forum.com/.
2005 Dec 31
1
Custom Classes?
Ok, a bit of a possibly dumb question here. When working on Rails apps and I want to add a few custom class rb files to the project, where exactly should I put them? What folder is the best to place them in that things in the model and controller folder can see and use them? Thanks, - Mark -- Posted via http://www.ruby-forum.com/.
2005 Dec 21
4
[OT] server partitioning question (rails + postgres)
Hi, A bit off-topic, but I''m about to set up a remote Linux server for Rails, with postgres and probably Lighttpd. The server has two 120GB hard drives, one of which will just be for nightly backups of the other. I don''t intend to have any untrusted user accounts on the server. The server will be dedicated to my own applications. I''ll want to support lots of www
2011 Mar 07
1
blowfish encrypted url in ruby
How to encrypt and decrypt the url using blowfish in ruby? ex: url= http://localhost:3000?username=vam&paswd=1234&street=hyd&contact=999999999&company=raymarine&city=hyd&state=UP&country=ZP&zip_code=543211 please help its very urgent. Thanks in advance - Vam -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to
2009 Apr 24
4
Long string in crypting
I use a solution to crypt a string that I found using OpenSSL. But the crypted string becomes very long, too long for a varchar 255 to hold it. What can I do to make it shorter? Or should I just use text as column in the mysql db? public_key_file = ''lib/public.pem'' public_key = OpenSSL::PKey::RSA.new(File.read(public_key_file)) @encrypted_string =
2006 Jun 09
1
crypto-key.rb
Does anyone know how to implement the crypto-key.rb as found on http://swik.net/Typo/too-biased/Simple+Encryption/ckpz It allows for encryption and decryption of credit card numbers that are stored in a database. I am somewhat new to Rails, and I don''t always know how to use libraries and modules. Thanks, will clark // graphic design www.willclarkdesigns.com/
2006 Jan 08
3
Getting the current Action in the Model
Is it possible to get the current Controller''s action from within the Model? I have a situation where I want a piece of validation to run on edits, but not on new creates. Thanks, - Mark -- Posted via http://www.ruby-forum.com/.
2011 Nov 02
3
form_for text_field
I have a form ... html ..... <% form_for @person do |f| %> ... html ..... <%= f.text_field :last_name %> ... html ..... <% end %> When last_name field of @person doesn''t contains french special symbols like ''é'', all characters are displayed in the input control (f.text_field :last_name ). Else only symbols before french special symbol are