module ROT26

Overview

TODO Write documentation for Rot26

Defined in:

rot26.cr

Constant Summary

ROTATE = ('z' - 'a') + 1

Class Method Summary

Class Method Detail

def self.decrypt(input : String) #

Decrypts the input using ROT26


[View source]
def self.decrypt_any(input : String, amount : Int32) #

Decrypt using any amount.

Warning: Please carefully choose the right amount.

New users are recommended to use rot26 for the best security.


[View source]
def self.decrypt_rot13(input : String) #

Decrypts the input using rot13.

Warning: Security researchers have managed to crack rot13.

New users are recommended to use rot26 for the best security.


[View source]
def self.encrypt(input : String) #

Encrypts the input using ROT26


[View source]
def self.encrypt_any(input : String, amount : Int32) #

Encrypt using any amount.

Warning: Please carefully choose the right amount.

New users are recommended to use rot26 for the best security.


[View source]
def self.encrypt_rot13(input : String) #

Encrypts the input using rot13.

Warning: Security researchers have managed to crack rot13.

New users are recommended to use rot26 for the best security.


[View source]