mirror of
https://github.com/lucheng0127/virtuallan.git
synced 2025-10-26 02:00:20 +08:00
5 lines
176 B
Bash
5 lines
176 B
Bash
#!/bin/bash
|
|
|
|
key=`/usr/bin/hexdump -vn8 -e'4/4 "%08X" 1 "\n"' /dev/urandom | sed 's/ //g'`
|
|
sed -i "s/const AESKEY = \"B5FFCEE73EF298A4\"/const AESKEY = \"$key\"/g" ./cipher.go
|