def encrypt(data)
      Digest::const_get(algorithm.upcase).hexdigest(build(data, salt))
    end
def encrypt(data)
      Digest::const_get(algorithm.upcase).hexdigest(build(data, salt))
    end
Returns the encrypted value of the data