sym是一个开源命令行实用程序和Ruby API,可以非常轻松地将敏感数据的可靠加密和解密添加到以任何语言编写的应用程序或项目中。与许多现有的加密工具不同,sym专注于缩小便利性和安全性之间的差距,提供增强的可用性和简化的ruby API和CLI。该库的主要目标是使加密变得非常容易和透明。 sym使用对称加密算法。这意味着使用相同的密钥来加密和解密数据。除密钥外,加密还使用随机IV矢量,该矢量根据每个加密自动生成并与数据序列化。加密结果是zlib压缩和base64编码,适合作为字符串存储。为方便起见,生成的密钥也是base64编码的。 最后,库使用任何常规密码提供加密,特别是支持受密码保护的加密密钥。自动密钥检测算法尝试将提供的密钥解析为文件名,环境变量名称,OS-X密钥链密码条目名称,密钥本身或默认密钥文件。 Original: https://github.com/kigster/sym Sym — Light-weight Symmetric Encryption for Humans        Discuss Sym on Gitter: March 10th, 2017. Please checkout the post “Dead Simple Encryption with Sym” that announces this library, and provides further in-depth discussion. Your donation of absolutely any amount is very much… Continue Reading [Reproduce]Sym — Light-weight Symmetric Encryption for Humans

Rails cache with locale在Rails视图中自动添加当前应用程序区域设置(I18n.locale)作为缓存键的一部分。 Original: https://github.com/igorkasyanchuk/cache_with_locale Rails cache with locale Automatically adding current application locale (I18n.locale) as a part of caching key in Rails views. Problem & Solution For example you have: Rails app with different locales you want to add fragment caching in views When you have a different locales… Continue Reading [Reproduce]Rails cache with locale automatically adding current application locale (I18n.locale) as a part of caching key in Rails views.

Snibox是一个自托管的代码片段管理器。 支持各种编程语言,Markdown,纯文本。 开发用于收集和组织代码段。 Original: https://github.com/snibox/snibox    Snibox is a self-hosted code snippets manager. Supports various programming languages, markdown, plain text. Developed to collect and organize code snippets. Table of Contents Demo Built with Deployment Development Todo License Demo Click the image below to launch demo: It may take up to 30… Continue Reading [Reproduce]Snibox is a self-hosted code snippets manager