<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Crypto/Rand on PlumePHP</title><link>https://plumephp.com/tags/crypto/rand/</link><description>Recent content in Crypto/Rand on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Wed, 06 Aug 2025 13:12:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/crypto/rand/index.xml" rel="self" type="application/rss+xml"/><item><title>Go 入门：随机数别乱用，Token 要用 crypto/rand</title><link>https://plumephp.com/go-random-token-crypto-rand-2025/</link><pubDate>Wed, 06 Aug 2025 13:12:00 +0800</pubDate><guid>https://plumephp.com/go-random-token-crypto-rand-2025/</guid><description>&lt;p&gt;随机数是入门时很容易被低估的主题。抽一个测试样本、打乱列表、模拟掷骰子，用普通伪随机就可以；生成登录 Session、重置密码链接、邮箱验证 Token，就必须使用安全随机。两类需求看起来都叫“随机”，背后的要求完全不同。&lt;/p&gt;</description></item></channel></rss>