module RbNaCl::Util

def verify32(one, two)

Returns:
  • (Boolean) - Well, are they equal?

Parameters:
  • two (String) -- String #2
  • one (String) -- String #1
def verify32(one, two)
  return false unless two.bytesize == 32 && one.bytesize == 32
  c_verify32(one, two)
end