fixed environment encryption algorithm default to sha1 instead of sha, so it will work with silverplate.
fixed environment encryption algorithm default to sha1 instead of sha, so it will work with silverplate.

--HG--
extra : convert_revision : svn%3A77541ad4-5f01-0410-9ede-a1b63cd9a898/trunk%404918

lucius-feng/tg2,lucius-feng/tg2