lib/pagelet_rails/encryptor.rb in pagelet_rails-0.1.6 vs lib/pagelet_rails/encryptor.rb in pagelet_rails-0.1.7
- old
+ new
@@ -39,10 +39,10 @@
private
def encryptor
@encryptor ||= begin
key = self.class.get_key secret, salt
-
+ key = key[0..31]
ActiveSupport::MessageEncryptor.new(key)
end
end
end