This commit is contained in:
2026-03-05 16:54:07 +02:00
commit 609946a5f7
5 changed files with 42 additions and 0 deletions

9
aes-encrypt-decrypt/genkey.sh Executable file
View File

@@ -0,0 +1,9 @@
NAME=$1
echo ${NAME}_private.pem
mkdir $NAME
openssl genrsa -aes128 -out $NAME/${NAME}_private.pem 1024
openssl rsa -in $NAME/${NAME}_private.pem -pubout > $NAME/${NAME}_public.pem