rot13 static method

String rot13(
  1. String text
)

Rotates letters by 13 (applying twice gives the original). rot13("abc") → "nop"

Implementation

static String rot13(String text) => caesarShift(text, 13);