Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一个 gem 来在 Ruby 中对要存储在数据库中的值执行简单的字符串加密和解密。任何人都可以建议一个好的开源 gem 来使用它吗?
这取决于您对简单的含义 - 加密算法或 gem 的使用?
如果你需要非玩具加密,那么我建议你看看'crypt' gem。