Post Reply 
(42S) Hill's Encryption System
07-12-2022, 04:54 AM
Post: #4
RE: (42S) Hill's Encryption System
Thank you Thomas for your suggestion.

While your programme gives correct results the returned numbers respect the sign of elements of the matrix, whereas the built-in function MOD returns positive answers for a positive base, which values the cyphering processes depend on.

Consequently not utile for this set of programmes.

I prefer the programme below, it may avoid problems with non-integer outputs of your programme - however, still respects sign of input:

Code:
00 { 20-Byte Prgm }
01▸LBL "MMOD"
02 FIX 00
03 RCL÷ ST Y
04 FP
05 RCL* ST Y
06 RND
07 ALL
08 END
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(42S) Hill's Encryption System - Gerald H - 11-24-2014, 07:39 PM
RE: (42S) Hill's Encryption System - Gerald H - 07-12-2022 04:54 AM



User(s) browsing this thread: 4 Guest(s)