On 9/1/07, Luis Lavena <[EMAIL PROTECTED]> wrote:
> On 9/1/07, Gabriel Arellano <[EMAIL PROTECTED]> wrote:
> > Diego:
> >
> > SerĂ­a algo como esto, no?
> >
> >
> >   digest = Digest::MD5.new()
> >   archivote = File.open("/home/pepe/archivote", 'r')
> >   archivote.each_line do |linea|
> >     digest << linea
> >   end
> >
> > O estoy muuuuuy errado?
> >
>
> Si y no, eso sirve para archivos de tipo texto, no uno binario.

je... :D
(eso por no leer los post anteriores...)

>
> --
> Luis Lavena
> Multimedia systems
> -
> Leaders are made, they are not born. They are made by hard effort,
> which is the price which all of us must pay to achieve any goal that
> is worthwhile.
> Vince Lombardi
> _______________________________________________
> Ruby mailing list
> [email protected]
> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
>


-- 

Gabriel Arellano.
Linux Registered User #188284
Grupo de Estudios de Software Libre
U.T.N. - F.R. C. del Uruguay

----BEGIN GEEK CODE BLOCK----
Version: 3.1
GCS/ED d-- s: s- a- C+++ UL++++$ P+>+++ L+++$>++++ E- W+++ w--- PS++ PE
Y++ PGP++ t+++ 5- X++++ R++ tv+++ b+++ DI+++ D++++ G+ e++>++++ h+ r* y--
-----END GEEK CODE BLOCK-----
_______________________________________________
Ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar

Responder a