util: style fixes
util: add secure pseudorandom number generator
vm: remove unused static function log2()