Sha256: de0b91fd9592bfc8f9148891763d4752ea17682dfcda2520e30a8bc4d736fdd2
Contents?: true
Size: 307 Bytes
Versions: 208
Compression:
Stored size: 307 Bytes
Contents
defmodule RotationalCipher do @doc """ Given a plaintext and amount to shift by, return a rotated string. Example: iex> RotationalCipher.rotate("Attack at dawn", 13) "Nggnpx ng qnja" """ @spec rotate(text :: String.t(), shift :: integer) :: String.t() def rotate(text, shift) do end end
Version data entries
208 entries across 208 versions & 1 rubygems