Krypt the next level of Ruby Cryptogaphy
summary
krypt is a drop-in, multi-gem framework that aims to replace OpenSSL by letting you pick krypt providers for C, Java or pure-Ruby backends and run on MRI, JRuby (via FFI) and others. it ships a custom ASN.1/DER parser that parses lazily, caches original encodings to avoid breaking signatures, bounds memory to under twice the non-cached footprint, and benchmarks as faster than many native libraries. testing is driven by FuzzBert, a random-testing harness for binary and templated inputs; binyo intends to speed binary IO.
AI-written summary · about
chapters (7)
- 0:00Introduction to Crypt
- 1:26Crypt architecture layers
- 3:44High-level abstractions
- 5:08Design principles
- 9:42ASN.1 parsing and performance
- 19:10Fuzzbird testing framework
- 26:38Hash collision vulnerabilities
related talks
30mRuby OpenSSL Present Future and Why It Matters
10mEncryption Pitfalls and Workarounds
26mAdventures in Paranoia with Sinatra and Sequel
41mBetter Than ROT13
35mRuby’s C Extension Problem and How We're Solving It
31mExpand your Ruby Potential with JRuby
30mA Framework for Cryptographic Agility
20m10 Weird Applications of Public Key Cryptography
