lib/lockbox/aes_gcm.rb in lockbox-0.2.2 vs lib/lockbox/aes_gcm.rb in lockbox-0.2.3
- old
+ new
@@ -1,6 +1,4 @@
-require "openssl"
-
class Lockbox
class AES_GCM
def initialize(key)
raise ArgumentError, "Key must be 32 bytes" unless key && key.bytesize == 32
raise ArgumentError, "Key must be binary" unless key.encoding == Encoding::BINARY