Reviewed-by: chegar, mchung
Reviewed-by: xuelei, alanb
Ensure the Cipher.doFinal() is called only once Reviewed-by: xuelei