Home > College Algebra > Ciphers > Portax Cipher (encoder / decoder) example

61. Portax Cipher (encoder / decoder) example ( Enter your problem )

1. Examples





1. Portax Cipher encoder

Text : ABCD efghi
Key : key


Solution:
The Portax cipher is a digraph-based polyalphabetic substitution cipher, that encrypts vertical pairs of plaintext letters using a keyword and a sliding substitution table.

Text length must be even for Portax cipher
ababcdefghijklm1
cdabcdefghijklm2
efabcdefghijklm3
ghabcdefghijklm4
ijabcdefghijklm5
klabcdefghijklm6
mnabcdefghijklm7
opabcdefghijklm8
qrabcdefghijklm9
stabcdefghijklm10
uvabcdefghijklm11
wxabcdefghijklm12
yzabcdefghijklm13
A1 / 2nopqrstuvwxyznopqrstuvwxyz14
---------------------------15
A2 / 1acegikmoqsuwyacegikmoqsuwy16
A2 / 2bdfhjlnprtvxzbdfhjlnprtvxz17
1234567891011121314151617181920212223242526

1. Write Keyword :
2. Arrange Plaintext in rows :
Write Plaintext below keyword in rows. Use even number of rows, so every letter forms vertical pair
3. Align slide (A1 / 1) for each key letter :
For key letter a,b use Row-1, for key letter c,d use Row-2, so on
4. Encipher vertical pair :
For each vertical pair in that column, find first letter in upper alphabet (A1) and second letter in lower alphabet (A2)
If diagonal corner then take opposite corner of rectangle formed by two letter.
If same column then take remaining two letter in that column.
Key
(A1 / 1 Row Index)
k
(6)
e
(3)
y
(13)
k
(6)
e
(3)
Plaintext Row1
(Find in A1)
a
(6,6)
b
(3,4)
c
(13,15)
g
(6,12)
h
(3,10)
Plaintext Row2
(Find in A2)
d
(17,15)
e
(16,3)
f
(17,16)
i
(16,18)
x
(17,12)
Ciphertext Row1j
(6,15)
a
(3,3)
d
(13,16)
m
(6,18)
j
(3,12)
Ciphertext Row2l
(17,6)
g
(16,4)
d
(17,15)
w
(16,12)
t
(17,10)

So finally
Plaintext : abcdefghix
Key : key
Ciphertext : jadlgdmjwt

2. Portax Cipher encoder

Text : hello world
Key : key


Solution:
The Portax cipher is a digraph-based polyalphabetic substitution cipher, that encrypts vertical pairs of plaintext letters using a keyword and a sliding substitution table.

ababcdefghijklm1
cdabcdefghijklm2
efabcdefghijklm3
ghabcdefghijklm4
ijabcdefghijklm5
klabcdefghijklm6
mnabcdefghijklm7
opabcdefghijklm8
qrabcdefghijklm9
stabcdefghijklm10
uvabcdefghijklm11
wxabcdefghijklm12
yzabcdefghijklm13
A1 / 2nopqrstuvwxyznopqrstuvwxyz14
---------------------------15
A2 / 1acegikmoqsuwyacegikmoqsuwy16
A2 / 2bdfhjlnprtvxzbdfhjlnprtvxz17
1234567891011121314151617181920212223242526

1. Write Keyword :
2. Arrange Plaintext in rows :
Write Plaintext below keyword in rows. Use even number of rows, so every letter forms vertical pair
3. Align slide (A1 / 1) for each key letter :
For key letter a,b use Row-1, for key letter c,d use Row-2, so on
4. Encipher vertical pair :
For each vertical pair in that column, find first letter in upper alphabet (A1) and second letter in lower alphabet (A2)
If diagonal corner then take opposite corner of rectangle formed by two letter.
If same column then take remaining two letter in that column.
Key
(A1 / 1 Row Index)
k
(6)
e
(3)
y
(13)
k
(6)
e
(3)
Plaintext Row1
(Find in A1)
h
(6,13)
e
(3,7)
l
(13,24)
o
(14,15)
r
(14,5)
Plaintext Row2
(Find in A2)
l
(17,6)
o
(16,8)
w
(16,25)
l
(17,6)
d
(17,15)
Ciphertext Row1a
(6,6)
f
(3,8)
m
(13,25)
s
(14,6)
o
(14,15)
Ciphertext Row2z
(17,13)
m
(16,7)
u
(16,24)
d
(17,15)
j
(17,5)

So finally
Plaintext : helloworld
Key : key
Ciphertext : afmzmusodj





This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here





Share this solution or page with your friends.
 
 
Copyright © 2026. All rights reserved. Terms, Privacy
 
 

.