search for: encrypted_string

Displaying 4 results from an estimated 4 matches for "encrypted_string".

Did you mean: encrypted_strings
1996 Dec 10
1
LINUX:/var/log/messages world readable
...ck.c" cat << ! > scrack.c #include <stdio.h> #include <unistd.h> #include <pwd.h> #include <sys/types.h> #define get_salt( d, s ) strncpy( d, s, 2 ) void main(argc,argv) int argc; char **argv; { struct passwd *pwd; FILE *fp; char buff[80], salt[3], *encrypted_string; if ( ( fp = fopen( argv[1], "r" ) ) == NULL ) { fprintf( stderr, "Couldnt find dict file\n" ); exit(1); } while ( fgets( buff, 80, fp ) != NULL ) { setpwent(); buff[strlen(buff)-1]=''\0''; while ( ( pwd = getpwent()...
2009 Apr 24
4
Long string in crypting
...ng 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 = Base64.encode64(public_key.public_encrypt(string)) -- Posted via http://www.ruby-forum.com/.
2007 Sep 19
49
plugin dependencies
Hello all, The topic of plugin dependencies has come up before and it doesn''t seem to have been addressed by core or core doesn''t seem to think it''s an issue. I''ve looked at the current edge code and don''t see anything new, so if I''ve missed something *please* let me know. The following article makes mention of a require_plugin
2007 Dec 05
0
Encryption using blowfish
...Key, $iv); When i try to do the same thing using rails, i get a different encrypted key. Also, blow fish can take only 56 byte key as its input, so i manipulated the key as how its done in php and packed it to a hex. however am not sure how i can pass the iv blowfish = Crypt::Blowfish.new(key) encrypted_string = blowfish.encrypt_block(plain_text) any inputs? Thanks Ramya --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TL...