Skip to content

Instantly share code, notes, and snippets.

@dastanko
Last active September 2, 2019 16:56
Show Gist options
  • Save dastanko/5720570 to your computer and use it in GitHub Desktop.
Save dastanko/5720570 to your computer and use it in GitHub Desktop.
Шаблон на Java
public class CesarCipher {
private char[] alphabet;
private int shift;
public void setAlphabet(char[] alphabet) {
this.alphabet = alphabet;
}
public void setShift(int shift) {
this.shift = shift;
}
public String encode(String plainText){
// реализация
return encoded_text;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment