(38G) Hill's Encryption System
|
10-01-2015, 10:16 AM
(This post was last modified: 06-15-2017 01:56 PM by Gene.)
Post: #1
|
|||
|
|||
(38G) Hill's Encryption System
The following four programmes implement Hill's Cypher system for the HP 38G.
HILLSET stores the parameters, encyphering & decyphering matrices & additional cypher vector, in M9, M0 & M8. The programme asks for an encyphering modulus, for English perhaps 26, & size of cyphering matrices & vector, conveniently 4 to fit on the screen. ENCY encyphers the conformable matrix M1 & stores the result in M1. DECY decyphers the conformable matrix M1 & stores the result in M1. M1ADDV8 adds/subtracts the comformable vector M8 to the rows of M1. For info on Hill's system see: https://en.wikipedia.org/wiki/Hill_cipher HILLSET Code:
Code:
Code:
Code:
|
|||
03-04-2017, 03:32 PM
Post: #2
|
|||
|
|||
RE: HP 38G: Hill's Encryption System
Sorry, the programme HILLSET did not set up M0 efficiently, here is a more efficient version, the difference being in the line with the command "BREAK":
Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)