1.生成安全的base64字符串 key = SecureRandom.urlsafe_base64 转载于:https://www.cnblogs.com/gdpdroid/p/6877596.html