C
christoph.heindl
Hi,
I'm currently working on a little project which requires computation of
a MD5 checksum from a stream.
This works well as long as the stream is not closed. However, if the
stream is eventually closed, I need to
persist the MD5 object somehow, so I can reload it later on. I did not
find any way to persist (dump, marshal, whatever) way such a MD5
object. It seems like it is not supported by ruby. However, it should
be possible to persist an MD5 object as long as the context is
persisted as well. This begs the question: Is there a way to
persist and activate an MD5 object?
regards,
christoph
I'm currently working on a little project which requires computation of
a MD5 checksum from a stream.
This works well as long as the stream is not closed. However, if the
stream is eventually closed, I need to
persist the MD5 object somehow, so I can reload it later on. I did not
find any way to persist (dump, marshal, whatever) way such a MD5
object. It seems like it is not supported by ruby. However, it should
be possible to persist an MD5 object as long as the context is
persisted as well. This begs the question: Is there a way to
persist and activate an MD5 object?
regards,
christoph