caesarCypher

Caesar encryption.

immutable(Char)[]
caesarCypher
(
Char
)
(
immutable(Char)[] message
,
immutable(Char)[][] alphabets
,
ssize_t shift
)
if (
isSomeChar!Char
)

Parameters

message immutable(Char)[]

Text for encryption.

alphabets immutable(Char)[][]

Array of alphabets for internal shifting.

shift ssize_t

Numerical value of the shift.

Return Value

Type: immutable(Char)[]

Encrypted message.

Meta