This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # 安装 zsh | |
| echo "Installing zsh..." | |
| sudo apt update | |
| sudo apt install zsh net-tools build-essential git -y | |
| # 安装 oh-my-zsh | |
| echo "Installing oh-my-zsh..." | |
| sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" || { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // javac test3.java | |
| // java test3 | |
| import java.security.Key; | |
| import javax.crypto.Cipher; | |
| import javax.crypto.SecretKeyFactory; | |
| import javax.crypto.spec.DESedeKeySpec; | |
| import javax.crypto.spec.IvParameterSpec; | |