char: add frandom support
https://wiki.archlinux.org/index.php/frandom