removed one '@saVe' and reverted to chacha20 as default encryption algorithm
This commit is contained in:
parent
cfd9651b65
commit
4fa22fa22a
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ int main(string[] args)
|
||||||
"encrypt" : false,
|
"encrypt" : false,
|
||||||
"decrypt" : false ];
|
"decrypt" : false ];
|
||||||
|
|
||||||
Cipher cipher = Cipher.salsa20;
|
Cipher cipher = Cipher.chacha20;
|
||||||
string keyFileName = "symkey.asc";
|
string keyFileName = "symkey.asc";
|
||||||
bool armor;
|
bool armor;
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,7 @@ unittest
|
||||||
0x481c2027, 0x53a8e4b5, 0x4c1f89c5, 0x3f78c9c8]);
|
0x481c2027, 0x53a8e4b5, 0x4c1f89c5, 0x3f78c9c8]);
|
||||||
}
|
}
|
||||||
|
|
||||||
ubyte[] salsa20(in ubyte[] input) @save pure nothrow @safe
|
ubyte[] salsa20(in ubyte[] input) pure nothrow @safe
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
assert(input.length == 64);
|
assert(input.length == 64);
|
||||||
|
|
Loading…
Reference in a new issue