aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-10-18 16:24:52 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-10-18 16:24:52 +0300
commit9eadc7bac8863b7fd3a39edc9ba31cf4d3b5ab95 (patch)
tree01c44424c5a01ee05d3de86316298ab85aae2f5a
parent72870201a78e7d1da02fe1428e4d4acaa99a89ff (diff)
downloadcryptrobber-9eadc7bac8863b7fd3a39edc9ba31cf4d3b5ab95.tar
cryptrobber-9eadc7bac8863b7fd3a39edc9ba31cf4d3b5ab95.tar.xz
cryptrobber-9eadc7bac8863b7fd3a39edc9ba31cf4d3b5ab95.zip
It's alive!
-rw-r--r--main.sts6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.sts b/main.sts
index ae0966a..f112c30 100644
--- a/main.sts
+++ b/main.sts
@@ -196,14 +196,14 @@ set_entry float_init ; this is program with floats
; output text
length do 1 -
dup word_size mul plaintext + @ sys_write
- dup 0 = untilod drop
+ dup 1 = untilod drop
length do 1 -
swap drop
- dup 0 = untilod drop
+ dup 1 = untilod drop
; output key
keylen do 1 -
- swap sys_write_err
+ dup word_size mul key + @ sys_write_err
dup 0 = untilod drop newline sys_write_err
sys_exit