fork download
  1. import java.security.*
  2. f={d,o,l,L->m=""+MessageDigest.getInstance("MD5").digest((d+"-"+o).bytes).encodeHex()
  3. h={(Double.valueOf("0x0."+it+"p0")+"")[1..7]}
  4. [l+h(m[0..15]),L+h(m[16..31])]}
  5. print f("2005-05-26","10458.68","37","-122")
Success #stdin #stdout 0.59s 332352KB
stdin
Standard input is empty
stdout
[37.857713, -122.544543]