pSecureRandom.base64(12)#=>"7kJSM/MzBJI+75j8" 生成随机二进制字符串: pSecureRandom.random_bytes(10)#=>"\016\t{\370g\310pbr