Created Bifid cipher

This commit is contained in:
2022-03-03 17:16:31 +00:00
parent 9ed19039ca
commit 3de3366d0b

View File

@@ -1,7 +1,7 @@
//Mattrixwv/src/test/java/com/mattrixwv/CipherStreamJava/polySubstitution/TestColumnar.java //Mattrixwv/src/test/java/com/mattrixwv/CipherStreamJava/polySubstitution/TestColumnar.java
//Mattrixwv //Mattrixwv
// Created: 01-16-22 // Created: 01-16-22
//Modified: 01-31-22 //Modified: 03-03-22
package com.mattrixwv.CipherStreamJava.polySubstitution; package com.mattrixwv.CipherStreamJava.polySubstitution;
@@ -168,7 +168,7 @@ public class TestColumnar{
assertEquals("Columnar failed no symbol mixed case, whitespace, and symbol encoding.", correctOutput, output); assertEquals("Columnar failed no symbol mixed case, whitespace, and symbol encoding.", correctOutput, output);
} }
@Test @Test
public void testNoPaddingEncoding() throws InvalidCharacterException, InvalidKeywordException, InvalidInputException{ public void testNoPaddingEncode() throws InvalidCharacterException, InvalidKeywordException, InvalidInputException{
Columnar cipher = new Columnar(true, true, true, true); Columnar cipher = new Columnar(true, true, true, true);
//Test lowercase encoding //Test lowercase encoding
@@ -398,7 +398,7 @@ public class TestColumnar{
assertEquals("Columnar failed no symbol mixed case, whitespace, and symbol decoding.", correctOutput, output); assertEquals("Columnar failed no symbol mixed case, whitespace, and symbol decoding.", correctOutput, output);
} }
@Test @Test
public void testNoPaddingDecoding() throws InvalidCharacterException, InvalidKeywordException, InvalidInputException{ public void testNoPaddingDecode() throws InvalidCharacterException, InvalidKeywordException, InvalidInputException{
Columnar cipher = new Columnar(true, true, true, true); Columnar cipher = new Columnar(true, true, true, true);
//Test lowercase decoding //Test lowercase decoding