Rot

Introduction

RotN (rotate by N places) is a simple substitution cipher and a variant of the Caesar cipher developed in ancient Rome.

Usage

Taking Rot-13 as an example:

String str = "1f2e9df6131b480b9fdddc633cf24996";

// 4s5r2qs9464o713o2sqqqp966ps57229
String encode13 = Rot.encode13(str);

// Decoding
String decode13 = Rot.decode13(encode13);