You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenSSL::Digest::Digest is deprecated - I should have used OpenSSL::Digest instead. The former gives a 56 byte digest for some reason, whereas the latter gives the expected 28 bytes
Base64.encode always seems to return a string that ends with "\n" - .gsub("\n", "") fixes this