summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonsykkel <jonrevold@gmail.com>2021-09-21 19:50:37 +0200
committerjonsykkel <jonrevold@gmail.com>2021-09-21 19:50:37 +0200
commitcf7b73415d1e65c918def52f02a1dd7d3f75fccc (patch)
tree55df1ee6da644c05111a1a7817419d3d766f099e
parent14d52c8b9690c34636f96523b657753c07e3559c (diff)
downloadokeffa-cf7b73415d1e65c918def52f02a1dd7d3f75fccc.tar.gz
ch7
-rw-r--r--makefile2
-rw-r--r--prog/ch725
2 files changed, 26 insertions, 1 deletions
diff --git a/makefile b/makefile
index 947bae5..303cd91 100644
--- a/makefile
+++ b/makefile
@@ -66,7 +66,7 @@ out := $(bin_dir)/$(out)
ifneq ($(run),)
run_cmd := @echo "run $(out)" 1>&2
#run_cmd += && ./$(out) 256 16
- run_cmd += && time $(out) 2048 16 < prog/ch6
+ run_cmd += && time $(out) 2048 16 < prog/ch7
endif
ifneq ($(debug),)
diff --git a/prog/ch7 b/prog/ch7
new file mode 100644
index 0000000..89fa183
--- /dev/null
+++ b/prog/ch7
@@ -0,0 +1,25 @@
+(signature).
+88a0984c5438efd811ba8505362eea572b4057c52662da8854df66613c40332e
+b8f4e380932dbf9106f3536643bd2ff69da90ea0402b4fdc21a9245c3ebcb10c
+86c1847c9cc99c2ece4245735013d0e59ee905479445b625d76eecc1bdeebf48
+9dc512715324995d13eab27d286efa86bf8d69c3d93cb65e2f4ba9b805aa392b
+29d9f6635e9c7d81c0cc4eaaa2da0f618d83f7dab4854f24b3a900bfdf35e58e
+87745a6a8d11868c860334dd80a4a4d0dcac4e5ec34e9c16bbd174659008145f
+1e09556009557277a7dfe74faa30189957468cb25e0b10b5ae8d114e4e89e4b9
+40b1a21a5bb7efdd75ab59a1d82ac08dbcc9a7b10f5b708b2bc2453ab9bc6c80
+
+(exponent).
+10001
+
+(modulus).
+cdd49a674baf76d3b73e25bc6df66ef3abeddca461d3ccb6416793e3437c7806
+56269473c2212d5fd5eed17aa067fec001d8e76ec901ededf960304f891bd3ca
+d7f9a335d1a2ec37eabeff3fbe6d3c726dc68e599ebfe5456ef19813398cd7d5
+48d746a30aa47d4293968bfbafcbf65a90dffc87816fee2a01e1dc699f4ddabb
+84965514c0d909d54fda7062a2037b50b771c153d5429ba4ba335eab840f9551
+e9cd9df8bb4a6dc3ed1318ff3969f7b99d9fb90cab968813f8ad4f9a069c9639
+a74d70a659c69c29692567ce863b88e191cc9535b91b417d0af14be09c78b53a
+f9c5f494bcf2c60349ffa93c81e817ac682f0055a607bb56d6a281c1a04cefe1
+
+(s^e mod m)
+XQ