Integrated lib/crypto from zamboni. (bug 1070189)