private static function fromMcrypt($bytes) { $ret = \mcrypt_create_iv($bytes, MCRYPT_DEV_URANDOM); if ($ret === false) { self::toss(); // @codeCoverageIgnore } return $ret; }