On Mon, 2020-06-08 at 09:01 -0400, Eddie Kohler wrote:
> I'm writing to gauge interest in two new functions to the PHP `hash`
> extension, `hash_serialize` and `hash_unserialize`. These functions
> would serialize and unserialize the internals of a HashContext
> objectallowing a partially-computed hash to be saved, then restored
> and completed in a laterrun.

I would suggest to make the HashContext Serializable, then 

    serialize($hash_context);

works. Then it also fits when stored in other objects or something ...

johannes

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to