class Encryption
This class contains the encryption methods. It is a static class, containing only operations and no data. It implements Single Columnar Transposition cipher encryption.
operation specifications
+ encrypt (origMsg: String, key: String): String
-- encrypts a message using the key
pre: key is valid
post: An encrypted message is returned.
+ decrypt (eMsg: String, key: String): String
-- decrypts a message using the key
pre: key is valid
post: A decrypted message is returned.
This class contains the encryption methods. It is a static class, containing only operations and no data. It implements Single Columnar Transposition cipher encryption.
operation specifications
+ encrypt (origMsg: String, key: String): String
-- encrypts a message using the key
pre: key is valid
post: An encrypted message is returned.
+ decrypt (eMsg: String, key: String): String
-- decrypts a message using the key
pre: key is valid
post: A decrypted message is returned.