removed one '@saVe' and reverted to chacha20 as default encryption algorithm

This commit is contained in:
Johannes Loher 2016-02-16 19:36:24 +01:00
parent cfd9651b65
commit 4fa22fa22a
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ int main(string[] args)
"encrypt" : false,
"decrypt" : false ];
Cipher cipher = Cipher.salsa20;
Cipher cipher = Cipher.chacha20;
string keyFileName = "symkey.asc";
bool armor;

View file

@ -211,7 +211,7 @@ unittest
0x481c2027, 0x53a8e4b5, 0x4c1f89c5, 0x3f78c9c8]);
}
ubyte[] salsa20(in ubyte[] input) @save pure nothrow @safe
ubyte[] salsa20(in ubyte[] input) pure nothrow @safe
in
{
assert(input.length == 64);