atbash

Atbash encryption.

immutable(Char)[]
atbash
(
Char
)
(
immutable(Char)[] message
,
immutable(Char)[][] alphabets
)
if (
isSomeChar!Char
)

Parameters

message immutable(Char)[]

Text for encryption.

alphabets immutable(Char)[][]

Array of alphabets to use when flipping.

Return Value

Type: immutable(Char)[]

Encrypted message.

Meta