23 lines
514 B
Bash
23 lines
514 B
Bash
#!/bin/bash
|
|
|
|
echo "Manual OTP Test"
|
|
echo "==============="
|
|
|
|
# Generate a test pad
|
|
echo "Generating test pad..."
|
|
./otp generate demo 1
|
|
echo
|
|
|
|
# Create a test message file for encryption
|
|
echo "Creating test message..."
|
|
echo "This is a secret message for testing OTP encryption!" > test_message.txt
|
|
|
|
# Test encryption interactively
|
|
echo "Testing encryption (will prompt for input):"
|
|
echo "Please enter: This is a secret message for testing OTP encryption!"
|
|
./otp encrypt demo
|
|
|
|
echo
|
|
echo "Files created:"
|
|
ls -la demo.*
|