lib/rock_fintech/sign/md5.rb in rock_fintech-0.4.0 vs lib/rock_fintech/sign/md5.rb in rock_fintech-0.5.0
- old
+ new
@@ -7,12 +7,8 @@
md5 = Digest::MD5.new
md5 << (content + key)
md5.hexdigest
end
- def self.verify?(content, key, sign_str)
- sign(content, key) == sign_str
- end
-
end
end
end