Vigenère cipher: Difference between revisions

Content added Content deleted
(Updated D code)
Line 458: Line 458:


=={{header|D}}==
=={{header|D}}==
{{works with|D|2.054}}
{{works with|D|2.056}}


<lang d>import std.stdio, std.string, std.ascii;
<lang d>import std.stdio, std.string;


string encrypt(string txt, in string key)
string encrypt(string txt, in string key)