[PD1] cryptoUtils start and protocol tweaks
This commit is contained in:
parent
cdaae8fb7e
commit
c57c093867
4 changed files with 128 additions and 80 deletions
|
@ -10,6 +10,15 @@ func readMessageContent() string {
|
|||
fmt.Println("Enter message content (limited to 1000 bytes):")
|
||||
scanner := bufio.NewScanner(os.Stdin)
|
||||
scanner.Scan()
|
||||
// FIX: make sure this doesnt die
|
||||
return scanner.Text()
|
||||
}
|
||||
|
||||
func AskUserPassword() string {
|
||||
fmt.Println("Enter message content (limited to 1000 bytes):")
|
||||
scanner := bufio.NewScanner(os.Stdin)
|
||||
scanner.Scan()
|
||||
// FIX: make sure this doesnt die
|
||||
return scanner.Text()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue