From 2c635f529dac75747f49790bfa2c5c02384fb6fd Mon Sep 17 00:00:00 2001 From: Didactic Drunk <1479616+didactic-drunk@users.noreply.github.com> Date: Sun, 10 May 2020 09:49:06 -0700 Subject: [PATCH] Remove XChaCha16. --- src/sodium/cipher/chalsa.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sodium/cipher/chalsa.cr b/src/sodium/cipher/chalsa.cr index 2c6713f..89ca9be 100644 --- a/src/sodium/cipher/chalsa.cr +++ b/src/sodium/cipher/chalsa.cr @@ -85,7 +85,7 @@ module Sodium::Cipher end end - {% for key, valtup in {"Xchacha16" => {"xchacha16", false}, "XSalsa20" => {"xsalsa20", false}, "Salsa20" => {"salsa20", false}, "XChaCha20" => {"xchacha20", false}, "ChaCha20Ietf" => {"chacha20_ietf", true}, "ChaCha20" => {"chacha20", false}} %} + {% for key, valtup in {"XSalsa20" => {"xsalsa20", false}, "Salsa20" => {"salsa20", false}, "XChaCha20" => {"xchacha20", false}, "ChaCha20Ietf" => {"chacha20_ietf", true}, "ChaCha20" => {"chacha20", false}} %} {% val = valtup[0] %} {% ietf = valtup[1] %} # These classes can be used to generate pseudo-random data from a key,