1<?php
2namespace Hidehalo\Nanoid;
3
4class Generator implements GeneratorInterface
5{
6    /**
7     * @inheritDoc
8     */
9    public function random($size)
10    {
11        return unpack('C*', \random_bytes($size));
12    }
13}
14