Skip to content

Bug in main.asm when we present the output in Message Box, sometimes the output result is wrong when a character is encrypted to '\0' (NULL char) #43

Closed
@MariamGad

Description

@MariamGad

BUG in main.asm

main.asm have a bug: When we present the output in Message Box, sometimes the output result is wrong when a character is encrypted to '\0' (NULL char) because MsgBox prints the string till it find a NULL char.

Failed test cases:

Enter your text: asdfklsjalfkjaslkjfaslkf
Enter 4 keys
Enter Key 1: 1
Enter Key 2: 2
Enter Key 3: 3
Enter Key 4: 4

Program Output:
image

The output result is 4 characters only not 24!

Expected Output:

Encrypted: îٌَF ش-اُd┌قث�نB¤:~≡█|hر

✔️

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions