Documentation ¶
Overview ¶
package vigenere implements the Vigenere cipher.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanString ¶
Cleans a string for use as plaintext of a key. Removes non-letters and converts to upper case
func DecryptBytes ¶
func DecryptBytes(ciphertext, key, destination []byte)
Decrypt plaintext with given key. len(destination) must be greater than or equal to len(plaintext)
func EncryptBytes ¶
func EncryptBytes(plaintext, key, destination []byte)
Encrypt plaintext with given key. len(destination) must be greater than or equal to len(plaintext)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.