add keyboard layout defines for US and Chinese keyboard
add a part of encryption code